Find answers from the community

Updated 3 months ago

What is the best way to tell the index

What is the best way to tell the index to bring me specific definitions and cited in the documents with which it was trained. I am having problems when it tells me definitions of specific articles within the texts, for example: tell me what article 19 says and it brings me a totally different article.
L
1 comment
Specific terms can be tricky. You might be interested in a keyword index, or even a combination of a keyword index and vector index

https://gpt-index.readthedocs.io/en/latest/examples/query_engine/CustomRetrievers.html#retriever-query-engine-with-custom-retrievers-simple-hybrid-search
Add a reply
Sign up and join the conversation on Discord