After training on my DB, I'm not getting answers related to it. #630
Unanswered
AbdoDabbas
asked this question in
Q&A
Replies: 1 comment
-
Have you tried adding the crhromadb path? |
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
-
First of all I'm very new to this AI thing so please bare with me and consider that I may missed installing something.
I'm using MSSQL to train the model, and chromadb as vector db and llama3.1 (4.7GB size) as a local ai model.
I followed exactly the sample in this page https://vanna.ai/docs/mssql-ollama-chromadb/ , but I faced two issues:
vn.train
method, it stops, I don't know if training is done or not, but I tries to log some info on cmd after calling thetrain
but it doesn't reach it.train
line in the code and called theask
function, it shows some data and it's trying to call the LLM model to ask it the question, but the model response like it doesn't know what I'm asking for, even when I tried to run the Flask app, and ask the question about how many of X (table name) do we have ? expecting to response withSELECT Count(*) FROM X
but I get something like "I'm a large language model and I don't have this info ...etc".BTW: If I used
mistral
as a model instead ofllama3.1
, it starts to understand and make sense of the answers !Here's my python code for a reference:
Beta Was this translation helpful? Give feedback.
All reactions