Find answers from the community

Updated 2 months ago

Find better matching context

Another Q! I have 1k docs ingested. I know that the response of my query is in more than 1 doc, but specifically in one document. However when I look for it in get_formatted_sources i see that’s in 14th position (ordered by similarity, that imo works poorly). Except for writing better the query, which other methods may I apply to get that response without put similarity top k with large numbers?
L
1 comment
Are you using just a single vector index?

You might want to look into using a composable index, to better send queries to the correct data. Some more details/links/tips are in the new FAQ 💪

https://docs.google.com/document/d/1bLP7301n4w9_GsukIYvEhZXVAvOMWnrxMy089TYisXU/edit?usp=sharing
Add a reply
Sign up and join the conversation on Discord