Skip to content
This repository was archived by the owner on Mar 29, 2026. It is now read-only.
This repository was archived by the owner on Mar 29, 2026. It is now read-only.

Database Schema Awareness #1111

@zthafir

Description

@zthafir

I'm new to using Vanna AI for NL2SQL, and I'm currently working with version 2.x.x. When I run the example provided in the documentation, it keeps raising errors. It seems that the model might not be aware of the schema of the connected database.
I noticed that it's possible to add business rules and example queries, but I couldn't find any mention of how to provide the database schema itself.
Do you have any recommendations on how to make it schema-aware or properly train it with the database schema?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions