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 Rag with AWS example #617

Merged
merged 4 commits into from
Oct 19, 2023
Merged

Add Rag with AWS example #617

merged 4 commits into from
Oct 19, 2023

Conversation

nicoloboschi
Copy link
Member

No description provided.

fields:
- "value.embeddings_vector"
output-field: "value.related_documents"
- name: "ai-chat-completions"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is it possible to add re-rank here?
In order to do it we have to also get the embeddings for each retrieved document.

re-rank is very important because it allows you to select more docs from the database and then refine the search

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done, thanks

@nicoloboschi nicoloboschi marked this pull request as ready for review October 18, 2023 23:10
@nicoloboschi nicoloboschi merged commit 0c5616c into main Oct 19, 2023
9 checks passed
@nicoloboschi nicoloboschi deleted the add-aws-rag branch October 19, 2023 00:14
benfrank241 pushed a commit to vectorize-io/langstream that referenced this pull request May 2, 2024
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