yvann-ba / Robby-chatbot

AI chatbot 🤖 for chat with CSV, PDF, TXT files 📄 and YTB videos 🎥 | using Langchain🦜 | OpenAI | Streamlit ⚡
MIT License
782 stars 289 forks source link

Always limited to four rows #11

Closed johndavi closed 1 year ago

johndavi commented 1 year ago

Even trying with your sample on the hosted version this only lets you query four rows... and only thinks there are four rows total. Same was true of my own sample CSV

Screenshot 2023-04-22 173910@2x
johndavi commented 1 year ago
Screenshot 2023-04-22 174003@2x

I mean, very likely a GPT 3.5 issue, but good to note

yvann-ba commented 1 year ago

thanks for your comment, I'm working to implement an option to ask more precise questions on the structure of the csv file with csv_agent, it should solve the problem, a chatbot question part on the content and a small QA section on structure, I'll try to join the two later for a complete tool

yvann-ba commented 1 year ago

Screenshot_2023-04-24_16-06-37

I added CSV Agent to ask more technical questions on the content of the csv when the chatbot is not enough, the chatbot allows mainly to use the csv file as a context to ask questions on its content, the use case is for example to help a user to find answers on a company from the content of the csv of the company grouping information about it. I hope it will help you (;

davidmcomfort commented 1 year ago

Have you been able to resolve this issue? I have been having the same issue with using ChatOpenAI. It only recognizes the first 4 rows of a CSV file.