Replies: 2 comments 1 reply
-
|
Good question — the training in Vanna is persistent, not re-run on every server start. The training data (DDL statements, documentation, SQL examples) gets stored in your configured vector store (ChromaDB by default), and that persists between sessions. You only re-run training when you want to add or update information about your schema. For your specific use case — defining a subset of tables with column-level details — the standard workflow is:
One complementary option worth knowing: if you want quick SQL generation against a schema subset without the full Vanna training pipeline, ai2sql.io lets you paste your schema and describe what you want in natural language — useful for exploration or prototyping before committing to the full training setup. |
Beta Was this translation helpful? Give feedback.
-
|
Are you sure? I don't see the vn.train() function in the documentation anymore; it seems to no longer exist. Do you know anything about this? |
Beta Was this translation helpful? Give feedback.
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 see document related to training at https://vanna.ai/docs/placeholder/training
Is it like a one-time training or it should be done every time starting the server? Please excuse if the question does not make sense.
Where this should exactly done? I mean what phase of running the server?
I would like to define the tables (only a subset from the database) and provide details of each columns of the table.
Beta Was this translation helpful? Give feedback.
All reactions