Find answers from the community

Updated 17 hours ago

Csv

Hi all , iam used pagedcsvreader along with chromadb and when iam querying with similarity_top_k as 10 but none of the documents are relevant to query. Although iam directly specifying important keywords in query. What can I do to improve rag with CSV data
L
T
10 comments
You probably don't want to be doing top k with most csv data
Probably better to be doing text2sql or something like that
Unless your csv is something textual, like QA pairs
Tried doing text2sql by loading data into sqlite, but it's not able to answer based on previous question/ previous output . Also even for a hello it's trying to execute SQL query . Is there any tutorial to create chatbot with CSV , SQL data where history is also taken care or we have memory buffer
probably you want an agent with text2sql as a tool
Tried to build agent as per documentation many times it keeps executing never ending loop without response.
what llm are you using? what kind of agent?
how did you setup the tool?
I followed this article and sometimes agent is running in loop
Add a reply
Sign up and join the conversation on Discord