Vanna is not able to get data from local Postgres DB #576
Unanswered
imranrazakhan
asked this question in
Q&A
Replies: 1 comment 1 reply
-
You have to use a chat variant. You can't use |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have modified streamlit app to use ollama and chromadb
vanna_calls.py
It runs fine without error, but dont pick data from database,
When i ask question in logs i can see
SQL Prompt: [{'role': 'system', 'content': "You are a PostgreSQL expert. Please help to generate a SQL query to answer the question. Your response should ONLY be based on the given context and follow the response guidelines and format instructions. \n===Additional Context \n\nThe following columns are in the pg_tables table in the energy_db database
but results always come from model without trained data
Desktop (please complete the following information where):
Beta Was this translation helpful? Give feedback.
All reactions