Тёмный

Fast-track RAG: Chat with SQL Databases using Few-Shot Learning and Gemini | Streamlit | LangChain 

Eduardo Vasquez
Подписаться 799
Просмотров 3,3 тыс.
50% 1

Опубликовано:

 

23 сен 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 16   
@NishantRoutray-ug1qt
@NishantRoutray-ug1qt 3 месяца назад
Please upload the next part by adding the few shots in vector DB, would be really helpful :-)
@eduardov01
@eduardov01 3 месяца назад
Thank you for the comment! I'll be making this video soon.
@keilavasquez728
@keilavasquez728 4 месяца назад
Finally!!! I was waiting for it!!
@eduardov01
@eduardov01 4 месяца назад
I hope you find the tutorial helpful!
@jim02377
@jim02377 4 месяца назад
I like the idea of putting the few shot examples into a vector database. That would be a nice video to make.
@eduardov01
@eduardov01 3 месяца назад
I'll definitely consider making it. Stay tuned!
@joulong
@joulong 3 месяца назад
老師教的真的很好
@eduardov01
@eduardov01 3 месяца назад
Thank you so much!
@rajupresingu2805
@rajupresingu2805 3 месяца назад
Can you come up with a SQL agent chat with Llama3
@eduardov01
@eduardov01 3 месяца назад
Yes, that's a valid approach.
@JrTech-rw6wj
@JrTech-rw6wj 3 месяца назад
Will it work if i have more tables in the database ?
@eduardov01
@eduardov01 3 месяца назад
Yes, you can add as many tables as you like. The function that retrieves the schema will provide all the columns and tables as input to the LLM. You only need to add a few example SQL queries (few shots) for those tables so the LLM can understand how to JOIN them if necessary.
@antoniotameirao1703
@antoniotameirao1703 3 месяца назад
How do the second model knows the initial question if only the sql response was provided?
@eduardov01
@eduardov01 3 месяца назад
That's a good remark. Currently, the second model makes an assumption about the initial question based solely on the SQL response provided. For a robust approach, the initial question needs to be added to the prompt of the chain_query function. By including both the initial question and the SQL response as input fields, the final answer will be more accurate.
Далее
Интересный наборчик 😀
00:12
Просмотров 11 тыс.
КАК ВАМ ТАКОЙ ТЮНИНГ НИВЫ?
00:42
Просмотров 202 тыс.
Why are vector databases so FAST?
44:59
Просмотров 17 тыс.
L-5 Chat with database using LangChain
31:11
Просмотров 2,5 тыс.
Интересный наборчик 😀
00:12
Просмотров 11 тыс.