You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Iam trying to generate sql and querying in the DB. But it was working fine till now, and now frequently I am getting 2 types of errors:
I have currently initialized the vanna object globally as a singleton object since these error where occurring everytime. Now the frequency of errors has reduced but still occurring when new type of questions are asked. How can I solve this.
string indices must be integers, not 'str'
"object of type 'NoneType' has no len()",
This error is thrown from the generate_sql function, I have no way of knowing what is the reason. The question which was working fine recently is now throwing this exception frequently.
My vanna version is: vanna[chromadb,openai,postgres]==0.7.6
Can someone help me to fix this issue. Can I know what is the cause of this issue?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi Guyz,
Iam trying to generate sql and querying in the DB. But it was working fine till now, and now frequently I am getting 2 types of errors:
I have currently initialized the vanna object globally as a singleton object since these error where occurring everytime. Now the frequency of errors has reduced but still occurring when new type of questions are asked. How can I solve this.
string indices must be integers, not 'str'
"object of type 'NoneType' has no len()",
This error is thrown from the generate_sql function, I have no way of knowing what is the reason. The question which was working fine recently is now throwing this exception frequently.
My vanna version is:
vanna[chromadb,openai,postgres]==0.7.6
Can someone help me to fix this issue. Can I know what is the cause of this issue?
Thanks
Beta Was this translation helpful? Give feedback.
All reactions