L-5 Chat with database using LangChain

  Рет қаралды 4,711

Code With Aarohi

Code With Aarohi

Күн бұрын

Пікірлер
@sangeethag8228
@sangeethag8228 Ай бұрын
You explain complex topics in simple, step-by-step videos. Truly impressive! This channel deserves way more recognition!
@CodeWithAarohi
@CodeWithAarohi Ай бұрын
Thank you! I’m glad my videos are helpful. Your support means a lot!
@yasutakaueda3928
@yasutakaueda3928 5 ай бұрын
Integrating database data with LLMs greatly expands the range of applications. Thank you for providing such valuable information.
@CodeWithAarohi
@CodeWithAarohi 5 ай бұрын
Glad it was helpful!
@tech_devsecops
@tech_devsecops 5 ай бұрын
Ma'am you demonstrated this in a really simple and great way.
@CodeWithAarohi
@CodeWithAarohi 5 ай бұрын
Thanks a lot 😊
@architectingme
@architectingme 2 ай бұрын
Thank you for sharing. I will try this on SQL server
@CodeWithAarohi
@CodeWithAarohi 2 ай бұрын
Good luck!
@aminelongo242
@aminelongo242 5 ай бұрын
Really helpful video ! Thank you Aarohi
@CodeWithAarohi
@CodeWithAarohi 5 ай бұрын
My pleasure 😊
@Pallavi9187
@Pallavi9187 Ай бұрын
Mam love u so much 😭
@soravsingla8782
@soravsingla8782 2 ай бұрын
Phenomenal
@careersuccessng3678
@careersuccessng3678 3 ай бұрын
Great Job Aarohi! How about connecting to MS SQL server used by most enterprises
@abdulqayyumshah9217
@abdulqayyumshah9217 2 ай бұрын
Amazing!
@CodeWithAarohi
@CodeWithAarohi 2 ай бұрын
Thank you!
@19saikalyan84
@19saikalyan84 22 күн бұрын
Hello Can't we do directly by uploading the datasets in an csv file in the sql workbench hope you react to this.....!!
@muhammadahsan2751
@muhammadahsan2751 Ай бұрын
I tried these steps with MSSQL Server and found below error, Could you please help to resolve this. chain = create_sql_query_chain(llm, db) The error i get is very long but at the end it says TypeError: Expected a Runnable, callable or dict.Instead got an unsupported type:
@DevShahin-zm8ni
@DevShahin-zm8ni 3 ай бұрын
I want to make a report generating software using LLM on my ERP where nearly 200 tables are exists. In my report generating software I give a propmt and LLM will analysis this promps and make a sql query on the basis of my ERP databases. Can I do it using this procedure?
@eneso8657
@eneso8657 2 ай бұрын
Do you know how can add memory to sql agent ? I have tried some ways but I could’nt
@amrzakaria5290
@amrzakaria5290 5 ай бұрын
Thanks a lot , Can you connect to PostgreSQL DB ,Pls give me steps.
@CodeWithAarohi
@CodeWithAarohi 5 ай бұрын
pip install langchain psycopg2 import psycopg2 from langchain import LangChain # Connect to your PostgreSQL database conn = psycopg2.connect( dbname="demodb", user="root", password="root123", host="localhost", port="5432" )
@amrzakaria5290
@amrzakaria5290 5 ай бұрын
Thanks.
@oscarpirateman
@oscarpirateman 3 ай бұрын
Is anybody else getting an error when running the line: chain = create_sql_query_chain(llm, db) The error i get is very long but at the end it says TypeError: Expected a Runnable, callable or dict.Instead got an unsupported type: I cant find any solution for it
@muhammadahsan2751
@muhammadahsan2751 Ай бұрын
Yes, The same error is appearing while i am trying execute the code,
@vickyrajeev9821
@vickyrajeev9821 5 ай бұрын
Thanks
@Beliver5894-l8h
@Beliver5894-l8h 2 ай бұрын
how can we get final response in full sentence eg: the total customer count is --- can you also include some prompt engg technique
@CodeWithAarohi
@CodeWithAarohi 2 ай бұрын
I will cover this in my upcoming videos.
@Beliver5894-l8h
@Beliver5894-l8h 2 ай бұрын
@@CodeWithAarohi thank you..will be helpful
@rishabhsheoran6959
@rishabhsheoran6959 4 ай бұрын
Hey Aarohi! How do we handle the cases where the LLM generates a wrong query other than exception handling?
@CodeWithAarohi
@CodeWithAarohi 4 ай бұрын
You can train your LLM for such queries using few-shot learning.
@mrnayan_2775
@mrnayan_2775 24 күн бұрын
Hello I'm facing some error with the tiktoken package.
@CodeWithAarohi
@CodeWithAarohi 23 күн бұрын
what is the error?
@arnavthakur5409
@arnavthakur5409 3 ай бұрын
Ma'am is there any possibility of getting trained under you as we are a group of 8 professionals working with an IT company
@CodeWithAarohi
@CodeWithAarohi 3 ай бұрын
Please email me at aarohisingla1987@gmail.com
@hendoitechnologies
@hendoitechnologies 4 ай бұрын
kindly post video about Claude 3.5 sonnet API video for developers
@CodeWithAarohi
@CodeWithAarohi 4 ай бұрын
Noted!
@harshitdtu7479
@harshitdtu7479 4 ай бұрын
i am not able to connect by db can u please help me
@CodeWithAarohi
@CodeWithAarohi 4 ай бұрын
Share the error
@mudgilgaurav
@mudgilgaurav 13 күн бұрын
Thanks for the walkthrough, it's very useful for beginners. I installed all dependencies using the requirement.txt which installs langchain 0.0.284 and I have python 3.11, while creating the SQL chain I am getting following issue #Convert question to SQL query from langchain.chains import create_sql_query_chain chain = create_sql_query_chain(llm, db) Error - TypeError: Expected a Runnable, callable or dict.Instead got an unsupported type:
@Umairkhan-j8p
@Umairkhan-j8p 5 ай бұрын
Can you connect to MongoDB ,Please give me steps.
@CodeWithAarohi
@CodeWithAarohi 5 ай бұрын
python.langchain.com/v0.2/docs/integrations/document_loaders/mongodb/
@ChrisLocke1969
@ChrisLocke1969 5 ай бұрын
but what if my table names and fields are HGSD1245GSDF? game over. AI is all hype, can we stop now?? :(
@CodeWithMahmoud
@CodeWithMahmoud 2 ай бұрын
You still can give first 5 rows like example to the llm and it will know what type of data in , and it will work 😊
@Pallavi9187
@Pallavi9187 Ай бұрын
​@@CodeWithMahmoudHey hi do u know that issues when we r using openai api key limit exceed ? Using in langchain
Run Llama 3.1 locally using LangChain
10:19
Code With Aarohi
Рет қаралды 9 М.
CodeGuardian - On-Device AI Builders Hackathon
9:25
studywithnpc
Рет қаралды 55
IL'HAN - Qalqam | Official Music Video
03:17
Ilhan Ihsanov
Рет қаралды 700 М.
L-7 RAG (Retrieval Augmented Generation)
27:54
Code With Aarohi
Рет қаралды 4,7 М.
Robust Text-to-SQL With LangChain: Claude 3 vs GPT-4
19:40
Rabbitmetrics
Рет қаралды 9 М.
L-8 Build a Q&A App with RAG using Gemini Pro and Langchain
27:00
Code With Aarohi
Рет қаралды 7 М.
Chat with SQL and Tabular Databases using LLM Agents (DON'T USE RAG!)
58:54
Farzad Roozitalab (AI RoundTable)
Рет қаралды 80 М.
Build a Python Web App to chat with your datasets using GenAI
4:23
Tech at Worldline
Рет қаралды 33 М.
L-1 Generative AI for Beginners
13:49
Code With Aarohi
Рет қаралды 4,5 М.
Chat with MySQL Database with Python | LangChain Tutorial
37:11
Alejandro AO - Software & Ai
Рет қаралды 57 М.