Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add map result support in neural search for non text embedding models #270

Conversation

zane-neo
Copy link
Collaborator

@zane-neo zane-neo commented Sep 1, 2023

Description

Neural search only support text embedding model result which are usually in List structure, for other models that returns non vector list like OpenAI, SPLADE etc, there's no available functions to get extract the json object result. This PR is to add several new functions to support these cases, the response are in Map<String, ?> structure and upper layer can extract more information from the map based on their purpose.

Issues Resolved

#260

Check List

  • New functionality includes testing.
    • All tests pass
  • New functionality has been documented.
    • New functionality has javadoc added
  • Commits are signed as per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Signed-off-by: zane-neo <[email protected]>
@zane-neo zane-neo changed the title Map result support Add map result support in neural search for non text embedding models Sep 1, 2023
@zhichao-aws
Copy link
Member

The commits are included in #333

@zane-neo
Copy link
Collaborator Author

Closing this PR since this will be included in PR: #333

@zane-neo zane-neo closed this Sep 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants