You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The objective is to give the custom context to the llm to answer the question using ConversationalRetrievalChain.from_llm wrapper
I have created a vector store, for a given question to get similar documents, using similarity search to find the similar chunks. Now here is the challenge, i need to search for source of the chunks and read the files to specific content as context. Because i will get high similarity search result on the Title letter, i want the context to be Supporting Document as a context for that title letter. It is not possible to get the chunk of the Supporting Document using similarity search.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Checked other resources
Commit to Help
Example Code
Description
The objective is to give the custom context to the llm to answer the question using ConversationalRetrievalChain.from_llm wrapper
I have created a vector store, for a given question to get similar documents, using similarity search to find the similar chunks. Now here is the challenge, i need to search for source of the chunks and read the files to specific content as context. Because i will get high similarity search result on the Title letter, i want the context to be Supporting Document as a context for that title letter. It is not possible to get the chunk of the Supporting Document using similarity search.
System Info
langchain==0.3.18
langchain-community==0.3.5
langchain-core==0.3.34
langchain-openai==0.2.6
langchain-text-splitters==0.3.6
langchain-unstructured==0.1.5
langchain-upstage==0.3.0
Beta Was this translation helpful? Give feedback.
All reactions