Relative Content

Tag Archive for promptlangchainlarge-language-modelgemini

langchain sqlagent reply with wrong result or getting stuck in a loop

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.