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
I am trying to run vanna with my locally hosted Mistral7B-instruct and Qdrant DB.
For LLM, I have tried using the OpenAI compatible endpoint using openai-chat object and with vllm endpoint through a CustomLLM class. I get the following issue while executing vn.train(sql="SELECT * FROM model_table;") while calling through an OpenAI compatible endpoint. Similar with vn.ask()
Error calling local LLM: Error code: 400 - {'object': 'error', 'message': "6 validation errors for ValidatorIterator\n0.typed-dict.text\n Field required [type=missing, input_value={'role': 'system', 'conte... name in the question.'}, input_type=dict]\n For further information visit https://errors.pydantic.dev/2.9/v/missing\n0.typed-dict.type\n Field required [type=missing, input_value={'role': 'system', 'conte... name in the question.'}, input_type=dict]\n For further information visit https://errors.pydantic.dev/2.9/v/missing\n0.typed-dict.image_url\n Field required [type=missing, input_value={'role': 'system', 'conte... name in the question.'}, input_type=dict]\n For further information visit https://errors.pydantic.dev/2.9/v/missing\n0.typed-dict.type\n Field required [type=missing, input_value={'role': 'system', 'conte... name in the question.'}, input_type=dict]\n For further information visit https://errors.pydantic.dev/2.9/v/missing\n0.typed-dict.input_audio\n Field required [type=missing, input_value={'role': 'system', 'conte... name in the question.'}, input_type=dict]\n For further information visit https://errors.pydantic.dev/2.9/v/missing\n0.typed-dict.type\n Field required [type=missing, input_value={'role': 'system', 'conte... name in the question.'}, input_type=dict]\n For further information visit https://errors.pydantic.dev/2.9/v/missing", 'type': 'BadRequestError', 'param': None, 'code': 400}
Question generated with sql: Error: Could not get a response from the local LLM.
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
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I am trying to run vanna with my locally hosted Mistral7B-instruct and Qdrant DB.
For LLM, I have tried using the OpenAI compatible endpoint using openai-chat object and with vllm endpoint through a CustomLLM class. I get the following issue while executing vn.train(sql="SELECT * FROM model_table;") while calling through an OpenAI compatible endpoint. Similar with vn.ask()
This is my calling function:
Beta Was this translation helpful? Give feedback.
All reactions