Vanna is sending multiple queries (including the presidencies sql) #640
-
Tools: First question: What is the full name of the customer who has paid the most? right/wrong: right. Me -> second question: who has paid the least? Vanna AI: "I interpreted your question as: What are the full names of the customers who have paid the most and the least? Edit Question New Question -- Customer who has paid the least right/wrong: wrong I have faced this crazy issue. I don't understand why it's sending the previous sql? or I'm missed something? Of course this is very serious issue. |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments
-
I am also facing the same issue. I think every time need to start the new question. |
Beta Was this translation helpful? Give feedback.
-
yes I have also faced this issue where if you continue asking different questions in the same chat thread, it tries to combine all the questions into one question & generate answer accordingly. So every time we need to start a new question so that the question is answered independently. Don't know the logic behind this implementation |
Beta Was this translation helpful? Give feedback.
-
class YourVannaClass(ChromaDB_VectorStore, OpenAI_Chat):
this will override generate_rewritten_question under vannabase class |
Beta Was this translation helpful? Give feedback.
class YourVannaClass(ChromaDB_VectorStore, OpenAI_Chat):
...
this will override generate_rewritten_question under vannabase class