Building an Gen AI SQL Assistant from Scratch with Vanna LLM: Training and Querying Your Database

  Рет қаралды 7,662

Programming Is Fun

Programming Is Fun

Күн бұрын

Пікірлер: 19
@kenchang3456
@kenchang3456 8 ай бұрын
Thank you very much for this helpful video. I find it interesting that your vn.ask() questions always reference the dbo from your SQL db and given that you only had trained on one table was that necessary? Also I was hoping, that if I had trained multiple tables with multiple complex SQL queries and their accompanying questing, that Vanna would be able to infer what tables and attributes to use based on the question my user is asking. Is that asking too much of Vanna and the LLM I'm using?
@musicphimhan7530
@musicphimhan7530 7 ай бұрын
Thank you for your lecture
@BinFangRE
@BinFangRE 7 ай бұрын
Please help to answer my question. At 4:30, you mentioned API key. Is it API key of LLM(OpenAI)? or it is API key of Vanna?
@ProgrammingIsFunn
@ProgrammingIsFunn 7 ай бұрын
This is vanna api key
@ProgrammingIsFunn
@ProgrammingIsFunn 7 ай бұрын
You can register your self on vanna platform and get api key. vanna.ai/docs/vanna.html#getting-an-api-key
@tabbasumnaz4757
@tabbasumnaz4757 6 ай бұрын
@@ProgrammingIsFunn Is it paid one?
@KarthikBhat-j4r
@KarthikBhat-j4r 6 ай бұрын
Is it compulsory to provide the data base name in the question ? Some times we might not know the database name hence
@datasciencetoday7127
@datasciencetoday7127 4 ай бұрын
you are so egzited bro its so nice
@emptyslot6972
@emptyslot6972 2 ай бұрын
I guess this only works, if you have meaningful table names and column names. And also a lot of foreign keys
@ProgrammingIsFunn
@ProgrammingIsFunn Ай бұрын
I have not tried, but I believe you are right.
@Himansh29
@Himansh29 9 ай бұрын
@himanisingh3335
@himanisingh3335 6 ай бұрын
hi I have tried your steps. I am getting below error while running vn.train(plan = plan) SSLError: HTTPSConnectionPool(host='ask.vanna.ai', port=443): Max retries exceeded with url: /rpc (Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: self-signed certificate in certificate chain (_ssl.c:1006)')))
@ProgrammingIsFunn
@ProgrammingIsFunn 6 ай бұрын
You can run n number of time I think 💭.
@amotorcyclerider3230
@amotorcyclerider3230 3 ай бұрын
Excellent. I was working on vanna today and trying out some stuff. Just now found this video. Very helpful. I also have MSSQL database and used the same sql to pull schema and train. But I was not able to successfully train. So I had to use ddl fora selected tables and that worked. Now, here does it use a vector database? And I guess you are using chromadb.
@rajdeepsingh-xc6wx
@rajdeepsingh-xc6wx 6 ай бұрын
vn.ask returns none
@ProgrammingIsFunn
@ProgrammingIsFunn 6 ай бұрын
Help me with your prompt.
@KarthikBhat-j4r
@KarthikBhat-j4r 6 ай бұрын
Is it compulsory to provide the data base name in the question ? Some times we might not know the database name hence
@KarthikBhat-j4r
@KarthikBhat-j4r 6 ай бұрын
Is it compulsory to provide the data base name in the question ? Some times we might not know the database name in pool of many
@ProgrammingIsFunn
@ProgrammingIsFunn 6 ай бұрын
It's not always necessary to provide the database name, but it can help to narrow down the context for a more accurate response.
🎩 Master Essential Pandas Magic Tricks for Effortless Data Analysis
16:56
Chat with MySQL Database with Python | LangChain Tutorial
37:11
Alejandro AO - Software & Ai
Рет қаралды 59 М.
Жездуха 41-серия
36:26
Million Show
Рет қаралды 5 МЛН
«Жат бауыр» телехикаясы І 30 - бөлім | Соңғы бөлім
52:59
Qazaqstan TV / Қазақстан Ұлттық Арнасы
Рет қаралды 340 М.
Andro, ELMAN, TONI, MONA - Зари (Official Audio)
2:53
RAAVA MUSIC
Рет қаралды 8 МЛН
Transformers (how LLMs work) explained visually | DL5
27:14
3Blue1Brown
Рет қаралды 4,2 МЛН
LLM-Powered Text-to-SQL with Amazon Bedrock Agent Explained
18:30
Denys on Data
Рет қаралды 4,2 М.
Database Sharding and Partitioning
23:53
Arpit Bhayani
Рет қаралды 108 М.
Python RAG Tutorial (with Local LLMs): AI For Your PDFs
21:33
pixegami
Рет қаралды 343 М.