Replies: 1 comment
-
It looks like what you’re hitting is very close to Problem #11 (SQL agent output drift / formatting mismatch). There’s a checklist / workaround for this (how to normalize and guard against the drift). |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I try to run example RAG with sqlite / postgres - biz_bot.py.
Ask: what is the annual rate of the base salary?
And then everything is error, the query seems no space:
SELECTSUM(annual_spend)FROMcustomer_table_1WHEREcustomer_name='basesalary'
I debug:
research: 1 {'step': 11, 'tool': 'sql', 'db_response': [], 'sql_query': "SELECTSUM(annual_spend)FROMcustomer_table_1WHEREcustomer_name='basesalary'", 'query': 'what is the annual rate of the base salary?', 'db': 'postgres', 'work_item': 'CREATE TABLE customer_table_1 (customer_name text, account_number bigint, customer_level text, vip_customer text, annual_spend bigint, user_name text )'}
everything same code with: https://github.com/llmware-ai/llmware/blob/main/examples/Use_Cases/biz_bot.py
Beta Was this translation helpful? Give feedback.
All reactions