vanna-ai / vanna

🤖 Chat with your SQL database 📊. Accurate Text-to-SQL Generation via LLMs using RAG 🔄.
https://vanna.ai/docs/
MIT License
11.03k stars 860 forks source link

How to disable chart generation? #431

Open njalan opened 4 months ago

njalan commented 4 months ago

Is there any way to disable chart generation? We found that sometime chart generation is very slow and we just want to get the number.

ShawshankLin commented 4 months ago

image

gabev commented 4 months ago

.... from vanna.flask import VannaFlaskApp .... .... vn = VannaDefault(model='chinook', api_key=api_key) vn.connect_to_sqlite('https://vanna.ai/Chinook.sqlite') vn.ask("Who are the top 3 customers in USA and what is their last name ?")

VannaFlaskApp(vn, chart=False)