i am using langchain’s create_sql_agent with llm gemini-pro
when i giving it info like which table to search its giving me currect ans but when asking without giving any info related to table just asking
ex who is alex dove
then its either getting stuck in loop searching in one table again and again or
giving any random response out of the database which doesn’t exist in db.
this is screenshot
[enter image description here](https://ienter image description here.sstatic.net/jt7bDyaF.png)
i have tried changing prompt,and now i dont know what else to do
kumar kukreti is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.