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

[Feature Request]: Contextual Embeddings and Retrieval (anthropic) #16284

Open
d416 opened this issue Sep 29, 2024 · 0 comments
Open

[Feature Request]: Contextual Embeddings and Retrieval (anthropic) #16284

d416 opened this issue Sep 29, 2024 · 0 comments
Labels
enhancement New feature or request triage Issue needs to be triaged/prioritized

Comments

@d416
Copy link

d416 commented Sep 29, 2024

Feature Description

Anthropic has posted an impressive approach for reducing RAG errors by 67% and keeping costs reasonable in the process.
Blog post: https://www.anthropic.com/news/contextual-retrieval
Cookbook: https://github.com/anthropics/anthropic-cookbook/blob/main/skills/contextual-embeddings/guide.ipynb

Reason

To implement this in llamaindex would require some crafty adaptation into a Node Parser I’m guessing.. maybe even a whole new NP?

Value of Feature

from the anthropic blog post:

“ This method can reduce the number of failed retrievals by 49% and, when combined with reranking, by 67%. These represent significant improvements in retrieval accuracy, which directly translates to better performance in downstream tasks “

@d416 d416 added enhancement New feature or request triage Issue needs to be triaged/prioritized labels Sep 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request triage Issue needs to be triaged/prioritized
Projects
None yet
Development

No branches or pull requests

1 participant