End To End Text To SQL LLM App Along With Querying SQL Database Using Google Gemini Pro

แชร์
ฝัง
  • เผยแพร่เมื่อ 12 ม.ค. 2024
  • github: github.com/krishnaik06/Google...
    In this video we will be developing an end to end LLm application using Google Gemini Pro where we will create Text To SQL LLM App and later retrieving query from sql database
    -----------------------------------------------------------------------------------------------
    Support me by joining membership so that I can upload these kind of videos
    / @krishnaik06
    ---------------------------------------------------------------------------------------------------------------------------
    ►Data Science Projects:
    • Now you Can Crack Any ...
    ►Learn In One Tutorials
    Statistics in 6 hours: • Complete Statistics Fo...
    Machine Learning In 6 Hours: • Complete Machine Learn...
    Deep Learning 5 hours : • Deep Learning Indepth ...
    ►Learn In a Week Playlist
    Statistics: • Live Day 1- Introducti...
    Machine Learning : • Announcing 7 Days Live...
    Deep Learning: • 5 Days Live Deep Learn...
    NLP : • Announcing NLP Live co...
    ---------------------------------------------------------------------------------------------------
    My Recording Gear
    Laptop: amzn.to/4886inY
    Office Desk : amzn.to/48nAWcO
    Camera: amzn.to/3vcEIHS
    Writing Pad: amzn.to/3vcEIHS
    Monitor: amzn.to/3vcEIHS
    Audio Accessories: amzn.to/48nbgxD
    Audio Mic: amzn.to/48nbgxD

ความคิดเห็น • 116

  • @krishnaik06
    @krishnaik06  5 หลายเดือนก่อน +25

    Likes Target 1000 :)

    • @raghavendranarayana1009
      @raghavendranarayana1009 5 หลายเดือนก่อน

      Likes target only 1000 that’s too small value mainly for your valuable content your Videos should get minimum 5k in a day

    • @yujibeballin4329
      @yujibeballin4329 5 หลายเดือนก่อน

      Krish Bhai 729!

    • @036saurabhlasonkar8
      @036saurabhlasonkar8 3 หลายเดือนก่อน

      Hello krish sir i have done all the code and execute that but the response is not working for me. I got correct Sql query but on streamlit it did not display anything can you help me

    • @BTSDaily7
      @BTSDaily7 2 หลายเดือนก่อน

      Ho gaye bhaiya 👍👍👍

  • @karthikmurumalla3936
    @karthikmurumalla3936 2 หลายเดือนก่อน +1

    Hi Krish! Lately I've been watching your videos on GenAi and I'm so glad that someone is putting up content on actually using these openly available models for real world use cases! However I would like to see more and more videos on domain specific fine tuning! Ive practically seen domain specifically fine tuned models with around 200M, 300M parameters generating results far better than generic models like Gemini, GPT3.5 turbo etc which are huge! I'm looking forward to a full length video from you on actually fine tuning smaller LLMs like T5 (base/small openly available) for domain specific tasks like text2sql and benchmark those scores with the results produced in this video!! Lighter models and more accurate results are always exciting to watch!

  • @BharatPatnawallah
    @BharatPatnawallah 5 หลายเดือนก่อน +6

    You are great Sir learning stats and Eda from you. Very smooth explanation. 🎉🎉

  • @shivamjha9254
    @shivamjha9254 5 หลายเดือนก่อน +2

    Thankyou sir🙏,from past 2 month I following your video.

  • @archowdhury007
    @archowdhury007 2 หลายเดือนก่อน

    Wonderful video Krish. Beautifully explained. Keep posting.

  • @datasciencegyan5145
    @datasciencegyan5145 4 หลายเดือนก่อน +1

    Krish mast banaya hai... I will try this in my ofc sample data

  • @alexramos587
    @alexramos587 5 หลายเดือนก่อน +1

    Thank you, Krish.

  • @yuvrajdawande6382
    @yuvrajdawande6382 5 หลายเดือนก่อน +2

    Just wow 🌟

  • @Iqbalshah-fd8yk
    @Iqbalshah-fd8yk 5 หลายเดือนก่อน +1

    You are wonderful sir

  • @adikankwucharles9616
    @adikankwucharles9616 5 หลายเดือนก่อน +4

    Nice one, sir. I am from Nigeria and got convinced in one of your videos to join Pwskills FSDSP batch. Please, I am still waiting for you. I need you in this industry.
    Thanks for all you do

    • @pdevender
      @pdevender 5 หลายเดือนก่อน

      why dont you come to india

    • @adikankwucharles9616
      @adikankwucharles9616 5 หลายเดือนก่อน

      @pdevender If I have an opportunity to work as a data analyst or a junior data scientist, I don't see anything that will deprive me of coming down to India.

  • @karthikbalasubramanya
    @karthikbalasubramanya 5 หลายเดือนก่อน +1

    Ultimate...thanks krish

  • @AayushSi7ha
    @AayushSi7ha 5 หลายเดือนก่อน +1

    @Krish you are a legend.❤

  • @debbh274
    @debbh274 19 วันที่ผ่านมา

    Crisp and to the point...❤

  • @MuhammedSavadkv
    @MuhammedSavadkv 5 หลายเดือนก่อน +1

    Great😊

  • @somethingnew7979
    @somethingnew7979 5 หลายเดือนก่อน +1

    This video is really helpful for me ,sir I have one doubt can we use ready made data

  • @datascientist_
    @datascientist_ 5 หลายเดือนก่อน +2

    Best video.

  • @satbhattacharya6481
    @satbhattacharya6481 16 วันที่ผ่านมา

    Excellent video!

  • @wassimdiai6
    @wassimdiai6 5 หลายเดือนก่อน +1

    thank you for the useful informations you provide in all of your videos, i have a question regarding this video , can we add a performance metric to make sur the query is correct

  • @musicphimhan7530
    @musicphimhan7530 5 วันที่ผ่านมา

    Thank you for your lecture.

  • @imranurrehman264
    @imranurrehman264 5 หลายเดือนก่อน

    great,,,

  • @user-po5rg8zu6e
    @user-po5rg8zu6e 3 หลายเดือนก่อน +1

    Made my life simple

  • @palashjain4203
    @palashjain4203 2 หลายเดือนก่อน

    Krishna, great content! Can we use this for generating pictorial output representation.

  • @AtitedigotvBlogspot
    @AtitedigotvBlogspot 3 หลายเดือนก่อน

    Thank you Krish, this video was great! Now I have a question, I am an app developer and I use database services such as Firefox or Parse Sever, do you have any idea how to approach the same with those databases?

  • @darshandaga7578
    @darshandaga7578 5 หลายเดือนก่อน +2

    can you please put up a video on fine tuning this with a specific context? lets say i want to delevop this for a cilent. How would we go about then?

  • @dulshansamarakoon5068
    @dulshansamarakoon5068 5 หลายเดือนก่อน

    Wow..

  • @DataPulse
    @DataPulse 5 หลายเดือนก่อน

    Krish the king bhai

  • @krishnaprasadsheshadri6206
    @krishnaprasadsheshadri6206 4 หลายเดือนก่อน

    damn this is crazy, what a great video. How would one go about scaling this application for a larger dataset and maybe for different kinds of data like geospatial etc?

  • @Shivang0369
    @Shivang0369 2 หลายเดือนก่อน

    Great Video Dear Krish Naik Sir :")
    Can I use this approach for larger projects ???
    Like i have HRMS project which has so many tables and data ,
    can you please answer to my question wether this approach is suitable or I have to use different approach ????

  • @miteshgarg9420
    @miteshgarg9420 4 หลายเดือนก่อน +1

    Hi Krish, thanks for the amazing video.
    Can you please help to create a similar solution using open source llm models like codellama. How can we fine tune the open source llm model to work like text to sql solution

  • @user-ds3qc8ge4k
    @user-ds3qc8ge4k 3 หลายเดือนก่อน +1

    Hi Krish, thanks for the amazing video.
    Can you please help to create a similar solution using llama2 models . How can we fine tune the open source llm model to work like text to sql solution

  • @lenkamndev9988
    @lenkamndev9988 5 หลายเดือนก่อน

    Sir could you post a video on your time management.

  • @vamsitharunkumarsunku4583
    @vamsitharunkumarsunku4583 4 หลายเดือนก่อน +4

    I have already mysql database with 20 schemas and each schema has multiple tables. In this case how to fine tune my mysql database with llm? Can you please explain. Thank you

    • @Munnu-hs6rk
      @Munnu-hs6rk หลายเดือนก่อน

      One idea is to Give the customize data in form of a er diagram and relational structure schema in form of pdf or something and fine tune the model

  • @myslates2854
    @myslates2854 5 หลายเดือนก่อน +2

    Interestingly all the data science students got better marks than Devops. Possibly a Krish-AI Bias :)

  • @mohamedelzonkoli6680
    @mohamedelzonkoli6680 5 หลายเดือนก่อน +1

    What is the best way to have an offline LLM interacting with sqlite db?

  • @haku660
    @haku660 4 หลายเดือนก่อน

    Hi krish Sir , i wanted to show the Query on the front end so basically Search(Question) -> Sql Query should be the answer

  • @guyknowsanime
    @guyknowsanime 4 หลายเดือนก่อน

    sir ap aik application bna de jesse apne q/a based bnai thi streamlit or gemini api key k sath. vhi cheez fastapi k through bnani ha

  • @wheresthecode
    @wheresthecode 3 หลายเดือนก่อน

    would be nice to see this working with llama and not gemini only. Please show us how to use llama

  • @user-xj6bx1hn5s
    @user-xj6bx1hn5s 5 หลายเดือนก่อน

    Thank you , was very informative . How should I go about implementing if the data model is complex with 10 tables and has star schema ?

    • @mithunshet5922
      @mithunshet5922 5 หลายเดือนก่อน

      This is not reliable.. llm should be used to correct the SQL code if at all an error exists.. But this questionnaire is unreliable for complex data models..

    • @KokkeOP
      @KokkeOP 5 หลายเดือนก่อน

      @@mithunshet5922 Honestly, what he should do is simply try his .db and see if it retrieve the right results with his queries. its not hard as long as the code is ran from his on-prem/local environment, the results should output a plausible answer. The hardest part should be to update the Prompt to the right kind of questions the model is going to be enquiry.

    • @protimaranipaul7107
      @protimaranipaul7107 หลายเดือนก่อน

      Have you found a way? Multiple agent?

  • @n.aniruddhan4464
    @n.aniruddhan4464 5 หลายเดือนก่อน

    Sir NLP with deep learning one shot please

  • @rvraghvender
    @rvraghvender 5 หลายเดือนก่อน +1

    I think the information posted in the "JOIN" button is quite old. Please re-explain what are the benefits we get in different subscription option.

    • @krishnaik06
      @krishnaik06  5 หลายเดือนก่อน

      all newly fresh videos on ML and DL are getting uplaoded. Check the below playlist
      th-cam.com/video/ip4WxEZwEPc/w-d-xo.html

  • @arinspace6588
    @arinspace6588 3 หลายเดือนก่อน

    Hey Krish, amazing work. I have been trying to run this on an AWS Linux instance and it throws me (argument of type 'Part' is not iterable) error. It works fine on Windows local PC. Can you help me fix this issue please.

  • @abhishekfnu7455
    @abhishekfnu7455 4 หลายเดือนก่อน

    Is there a way to use Data Dictionary to train LLM model to generate SQL queries later on?

  • @bangarrajumuppidu8354
    @bangarrajumuppidu8354 5 หลายเดือนก่อน +1

    Second ❤

  • @allaboutworld5177
    @allaboutworld5177 5 หลายเดือนก่อน +3

    Sir is there anything like we can upload pdf then the text in pdf should translate in another lang and the translated text should replace the text in pdf with same format of pdf and generate translated pdf if possible then sir please let me know.

  • @tharunps8048
    @tharunps8048 5 หลายเดือนก่อน

    I have a doubt. Will this send my Database contents/schema along with API request to LLMs for queries I ask ?

  • @shashankpandey1966
    @shashankpandey1966 5 หลายเดือนก่อน +1

    First❤

  • @srikrishna6595
    @srikrishna6595 5 หลายเดือนก่อน +1

    Can you please train more data to the SQL server

  • @DineshkumarRamasamy
    @DineshkumarRamasamy 2 หลายเดือนก่อน

    Have tested with one table and it works all good. But struggling with multiple tables
    Can you provide a sample with multiple table in one database ?

  • @shashankpandey1966
    @shashankpandey1966 5 หลายเดือนก่อน +3

    I had made one using Hugging face .

    • @pdevender
      @pdevender 5 หลายเดือนก่อน +1

      could you please share your hugging face space link

    • @bihanbanerjee3541
      @bihanbanerjee3541 4 หลายเดือนก่อน

      could you please share that link

  • @shivanisharma9554
    @shivanisharma9554 5 หลายเดือนก่อน +1

    I tried it with one database table with timeseries data in postgresql, It is giving entire records no matter what question I ask?

  • @ArunPrasathR-sp6lt
    @ArunPrasathR-sp6lt 2 หลายเดือนก่อน

    Should I make predictions about the future based on the data in my table?

  • @Data_Scientist_interview
    @Data_Scientist_interview 5 หลายเดือนก่อน +1

    How can we get only query out of this chain ?

  • @datasciencegyan5145
    @datasciencegyan5145 4 หลายเดือนก่อน

    Is it possible to retrieve table name from where ever it in any schema with respect to column name

  • @Ai-ni3gs
    @Ai-ni3gs 5 หลายเดือนก่อน +1

    Sir new video to store data into vector database free tier….

  • @bellosaburoladipupo7430
    @bellosaburoladipupo7430 4 หลายเดือนก่อน

    Hello Krish, how do I fix a 'DefaultCredentialsError'? I can't seem to get the app answering questions despite inputing my Api key. Thanks

  • @arielgamao5480
    @arielgamao5480 2 หลายเดือนก่อน

    Hi, do you have videos for chatbot? thanks

  • @08inside
    @08inside 5 หลายเดือนก่อน +2

    How can we scale it for real world data with 100s of tables/columns? Any refernces?

    • @simply54
      @simply54 5 หลายเดือนก่อน +1

      even i had the same query ? can we have multiple tables ? as in this video he has used a single table

    • @sahilsaini4574
      @sahilsaini4574 5 หลายเดือนก่อน

      try rag

  • @Debanjali-uk7wf
    @Debanjali-uk7wf 5 หลายเดือนก่อน +1

    sir my API Key is not generating

  • @abdulrahmanalrabah8324
    @abdulrahmanalrabah8324 2 หลายเดือนก่อน

    Would it be possible to have it sql to txt instead ?

  • @satyajamalla1429
    @satyajamalla1429 4 หลายเดือนก่อน

    Can I have a llm for Tex to BDD test cases for java applications

  • @_csds_PranjalSharma
    @_csds_PranjalSharma หลายเดือนก่อน

    plz make video on how to deploy it

  • @1984tushu
    @1984tushu 15 วันที่ผ่านมา

    Can it also run on any warehouse SAP BW, Synapse etc

  • @rohithak9419
    @rohithak9419 5 หลายเดือนก่อน

    Like number 674

  • @BharatPatnawallah
    @BharatPatnawallah 5 หลายเดือนก่อน +3

    Krish Sir I am from sales background but wanted to switch started learning but not sure how to proceed and land a job in the end.
    Please make a session for which we can increase our chance to get interview calls.
    Is there any mock preparation or Hr connect available in ineuron

    • @raghavendranarayana1009
      @raghavendranarayana1009 5 หลายเดือนก่อน +2

      I am also from Marketing background I moved to Data science in 2022 if you understand the basics and statistics ML,DL,CV and NLP is nothing

    • @BharatPatnawallah
      @BharatPatnawallah 5 หลายเดือนก่อน

      @@raghavendranarayana1009 which domain have you chosen for your career

    • @pdevender
      @pdevender 5 หลายเดือนก่อน

      @@raghavendranarayana1009 right now are you in ML domain. How did learn this things. Did interviewer concerned about your background

    • @raghavendranarayana1009
      @raghavendranarayana1009 5 หลายเดือนก่อน +1

      @@pdevender interviewer asked on why did you transit from marketing domain to Data science domain

    • @pdevender
      @pdevender 5 หลายเดือนก่อน

      @@raghavendranarayana1009 ok what was your answer then ?

  • @KumR
    @KumR 5 หลายเดือนก่อน +2

    Can this connect to Oracle Database?

    • @KokkeOP
      @KokkeOP 5 หลายเดือนก่อน

      im interested in this too.

  • @yvens_data
    @yvens_data 4 หลายเดือนก่อน

    Hi krish , I tried to push it to github and deploy the app on streamlit community, the data base stopp working, how can i fix that

  • @abhijitpatra1387
    @abhijitpatra1387 หลายเดือนก่อน

    in out put i am getting paranthesis and single quotes so how to remove it

  • @rishichowdhury4296
    @rishichowdhury4296 5 หลายเดือนก่อน

    @krishnaik can we use my SQL instead of SQL lite ?

    • @krishnaik06
      @krishnaik06  5 หลายเดือนก่อน +1

      Yes you can

  • @JayantKumar-lq9lg
    @JayantKumar-lq9lg 3 หลายเดือนก่อน

    Can you pls make video like same for NoSQL db by using Mongo

  • @luckytalkz9442
    @luckytalkz9442 4 หลายเดือนก่อน

    Sir when enter Streamlit run app.py mine display comes empty. Why? I am very confuse.

    • @luckytalkz9442
      @luckytalkz9442 4 หลายเดือนก่อน

      Hello sir please tell me? Why this happens

  • @anirudhgrack7560
    @anirudhgrack7560 5 หลายเดือนก่อน +1

    Google AI Studio not available here in canada

    • @anirudhgrack7560
      @anirudhgrack7560 5 หลายเดือนก่อน

      Any other way out ??

    • @swatik2509
      @swatik2509 5 หลายเดือนก่อน

      ​@@anirudhgrack7560leave canada

  • @qzwwzt
    @qzwwzt 2 หลายเดือนก่อน

    Do I have to change thw peopt language? I mean, may I wrote it in Portuguese, for example?

    • @TheIITianExplorer
      @TheIITianExplorer หลายเดือนก่อน

      Sir it depends, I think Gemini can understand Portuguese... So u can write in Portuguese

  • @chihebnouri5541
    @chihebnouri5541 4 หลายเดือนก่อน

    can you amke a video how to use that in angular?

  • @brightlyricsmusic
    @brightlyricsmusic 5 หลายเดือนก่อน +1

    Could not create `Blob`, expected `Blob`, `dict` or an `Image` type(`PIL.Image.Image` or `IPython.display.Image`). Got a: Value: ['You are an expert in converting English questions to SQL query!The SQL database has the name STUDENTS and has the following columns NAME, CLASS, SECTION and MARKS

    For example,
    Example 1 How many entries of records are present?, the SQL command will be something like this SELECT COUNT(*) FROM STUDENTS;
    Example 2 - Tell me all the students studying in Data Science class?,the SQL command will be something like this SELECT * FROM STUDENTS where CLASS="data science";
    also the sql code should not have \'\'\' or any quotes symbol in beginning or end and sql word in the output.
    '] getting this error someone help

    • @programmerpro-hs8ro
      @programmerpro-hs8ro 3 หลายเดือนก่อน

      Did you resolved this one buddy?

    • @brightlyricsmusic
      @brightlyricsmusic 3 หลายเดือนก่อน

      @@programmerpro-hs8ro join all the prompts in single string using " ".join

    • @alaparthinagabhaskar2318
      @alaparthinagabhaskar2318 2 หลายเดือนก่อน

      pass a string in the method instead of list like "model.generate_content(prompt[0] + question)" this will resolve the above error

  • @jawadasif8130
    @jawadasif8130 5 หลายเดือนก่อน

    how we can use Gemini in EU? Anyone got the Idea?

  • @programmerpro-hs8ro
    @programmerpro-hs8ro 3 หลายเดือนก่อน

    Anyone did this one?

  • @MUsmandev
    @MUsmandev 5 หลายเดือนก่อน

    whatsApp bot with gemini pro is this possible ............?

  • @RobbieMraz
    @RobbieMraz 2 หลายเดือนก่อน

    Hi do you know, if Let's say we connect Azure OpenAI to a SQL DB (Oracle) and want to retrieve data using AI Azure Platform, will SQL DB have an impact performance if so do you know how much can be impacted? Let say that we use SqL dB with many integrations

  • @swatikeshari858
    @swatikeshari858 2 หลายเดือนก่อน

    If I want to read and ask questions from multiple csv files at a time, then how can I implement?