-
Notifications
You must be signed in to change notification settings - Fork 955
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
[FEATURE] TokenStream.onRetrieved, please return the score #1733
Comments
@yushengliao we could add a |
@langchain4j |
@fmx0717 we probably could. You can also store the ID in the metadata of I guess we can add a |
@langchain4j |
@fmx0717 would you like to open a PR? |
@langchain4j |
Perhaps I would like to complete this PR. Could you please advise on how to implement it effectively? 1.Add EmbeddingScore and ReRankScore member variables in the |
@yushengliao I would probably introduce a We also need to make sure that |
Knowing the score is important, as contentAggregator, embeddingRetriever, and customRetriever do not have a score in the returned List. This is crucial for displaying to users during both development and production phases.
And each Retriever's score can be determined to be the best
The text was updated successfully, but these errors were encountered: