-
Notifications
You must be signed in to change notification settings - Fork 16.4k
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
Kendra retriever api #6616
Kendra retriever api #6616
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎ 1 Ignored Deployment
|
7a38c68
to
aaa228d
Compare
aaa228d
to
ca7cfe0
Compare
@3coins I think there is a small error in it: getRelevantsDocuments signature is incorrect. You have to set the params top_k and attribute_filter in the constructor: |
@hupe1980 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM Yet, integration tests could be helpful.
@leo-gan |
@dev2049 |
lgtm, thanks @3coins ! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
just noticed there's an index_id left in the notebook — is that intentional?
Thanks everyone! |
Description
Replaces Kendra Retriever with an updated version that uses the new retriever API which is better suited for retrieval augmented generation (RAG) systems.
Note: This change requires the latest version (1.26.159) of boto3 to work.
pip install -U boto3
to upgrade the boto3 version.cc @hupe1980
cc @dev2049