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

Поделиться
HTML-код
  • Опубликовано: 25 окт 2024

Комментарии • 128

  • @krishnaik06
    @krishnaik06  9 месяцев назад +32

    Likes Target 1000 :)

    • @raghavendranarayana1009
      @raghavendranarayana1009 9 месяцев назад

      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 9 месяцев назад

      Krish Bhai 729!

    • @036saurabhlasonkar8
      @036saurabhlasonkar8 7 месяцев назад

      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 6 месяцев назад

      Ho gaye bhaiya 👍👍👍

  • @karthikmurumalla3936
    @karthikmurumalla3936 6 месяцев назад +3

    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 9 месяцев назад +6

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

  • @shivamjha9254
    @shivamjha9254 9 месяцев назад +2

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

  • @adikankwucharles9616
    @adikankwucharles9616 9 месяцев назад +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 9 месяцев назад

      why dont you come to india

    • @adikankwucharles9616
      @adikankwucharles9616 9 месяцев назад

      @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.

  • @archowdhury007
    @archowdhury007 6 месяцев назад

    Wonderful video Krish. Beautifully explained. Keep posting.

  • @datasciencegyan5145
    @datasciencegyan5145 8 месяцев назад +1

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

    • @BrijeshPatel-cd4yd
      @BrijeshPatel-cd4yd 3 месяца назад

      Have you tried.. is it working with organization Tables. ??

  • @AayushSi7ha
    @AayushSi7ha 9 месяцев назад +1

    @Krish you are a legend.❤

  • @darshandaga7578
    @darshandaga7578 9 месяцев назад +3

    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?

  • @yuvrajjadhav1506
    @yuvrajjadhav1506 8 дней назад

    Great video boss❤

  • @VictorAyalaSpooner
    @VictorAyalaSpooner 7 месяцев назад +1

    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?

  • @myslates2854
    @myslates2854 9 месяцев назад +3

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

  • @somethingnew7979
    @somethingnew7979 9 месяцев назад +1

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

  • @Iqbalshah-fd8yk
    @Iqbalshah-fd8yk 9 месяцев назад +1

    You are wonderful sir

  • @yuvrajdawande6382
    @yuvrajdawande6382 9 месяцев назад +2

    Just wow 🌟

  • @wassimdiai6
    @wassimdiai6 9 месяцев назад +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

  • @சேட்டைகள்பலவிதம்

    Made my life simple

  • @debbh274
    @debbh274 4 месяца назад

    Crisp and to the point...❤

  • @vamsitharunkumarsunku4583
    @vamsitharunkumarsunku4583 8 месяцев назад +5

    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 5 месяцев назад +1

      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

    • @TemporaryForstudy
      @TemporaryForstudy 3 месяца назад

      hey what did you do?

    • @dvm509
      @dvm509 Месяц назад +3

      @@Munnu-hs6rk Absolute Bullshit

  • @karthikbalasubramanya
    @karthikbalasubramanya 9 месяцев назад +1

    Ultimate...thanks krish

  • @dario_real
    @dario_real 2 месяца назад

    I'm a programmer and I love using all kinds of tools, especially those related to artificial intelligence. If you have a project, we can work together to make it a reality

  • @alexramos587
    @alexramos587 9 месяцев назад +1

    Thank you, Krish.

  • @haku660
    @haku660 8 месяцев назад

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

  • @musicphimhan7530
    @musicphimhan7530 4 месяца назад

    Thank you for your lecture.

  • @palashjain4203
    @palashjain4203 6 месяцев назад

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

  • @BISHALRoy-e3l
    @BISHALRoy-e3l 7 месяцев назад

    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

  • @datascientist_
    @datascientist_ 9 месяцев назад +2

    Best video.

  • @rvraghvender
    @rvraghvender 9 месяцев назад +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  9 месяцев назад

      all newly fresh videos on ML and DL are getting uplaoded. Check the below playlist
      ruclips.net/video/ip4WxEZwEPc/видео.html

  • @krishnaprasadsheshadri6206
    @krishnaprasadsheshadri6206 8 месяцев назад

    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?

  • @miteshgarg9420
    @miteshgarg9420 8 месяцев назад

    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

  • @Shivang0369
    @Shivang0369 6 месяцев назад

    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 ????

  • @DineshkumarRamasamy
    @DineshkumarRamasamy 6 месяцев назад

    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 ?

  • @MuhammedSavadkv
    @MuhammedSavadkv 9 месяцев назад +1

    Great😊

  • @wheresthecode
    @wheresthecode 7 месяцев назад

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

  • @mohamedelzonkoli6680
    @mohamedelzonkoli6680 9 месяцев назад +1

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

  • @DataPulse
    @DataPulse 9 месяцев назад

    Krish the king bhai

  • @arinspace6588
    @arinspace6588 7 месяцев назад

    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.

  • @satbhattacharya6481
    @satbhattacharya6481 4 месяца назад

    Excellent video!

  • @lenkamndev9988
    @lenkamndev9988 9 месяцев назад

    Sir could you post a video on your time management.

  • @Imvishnuch
    @Imvishnuch 3 месяца назад

    Hi krish, we have this already but the query is taking 1 - 2 mins, i am an AI product manager, can you share techniques to reduce that time to 5-10 seconds ?

  • @bellosaburoladipupo7430
    @bellosaburoladipupo7430 8 месяцев назад

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

  • @guyknowsanime
    @guyknowsanime 8 месяцев назад

    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

  • @abhishekfnu7455
    @abhishekfnu7455 7 месяцев назад

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

  • @divyanshdhadwal9530
    @divyanshdhadwal9530 3 месяца назад +1

    Sir how can we add another table in db and join them and on the basis of that joined table how will our model respond. Like in the given table there are name, class, subject and marks. In second table there is name and their roll number. So how can we join these two tables and make our model train over it please help

    • @selub1058
      @selub1058 3 месяца назад

      In the same way. It doesn't matter how many tables you have in the database. Just adjust the prompt a little.

  • @allaboutworld5177
    @allaboutworld5177 9 месяцев назад +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.

  • @kalyanideopujari2430
    @kalyanideopujari2430 7 дней назад

    AttributeError: module 'google.generativeai' has no attribute 'GenerativeModel' how to resolve this?

  • @Abhishek_Aman06
    @Abhishek_Aman06 9 месяцев назад +1

    How can we get only query out of this chain ?

  • @08inside
    @08inside 9 месяцев назад +2

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

    • @simply54
      @simply54 9 месяцев назад +1

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

    • @sahilsaini4574
      @sahilsaini4574 9 месяцев назад

      try rag

  • @Rajanbabu-k5q
    @Rajanbabu-k5q 9 месяцев назад

    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 9 месяцев назад

      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 9 месяцев назад

      @@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 5 месяцев назад

      Have you found a way? Multiple agent?

  • @swatikeshari858
    @swatikeshari858 6 месяцев назад

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

  • @imranurrehman264
    @imranurrehman264 9 месяцев назад

    great,,,

  • @KumR
    @KumR 9 месяцев назад +2

    Can this connect to Oracle Database?

    • @KokkeOP
      @KokkeOP 9 месяцев назад

      im interested in this too.

  • @arielgamao5480
    @arielgamao5480 6 месяцев назад

    Hi, do you have videos for chatbot? thanks

  • @shivanisharma9554
    @shivanisharma9554 9 месяцев назад +1

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

  • @srikrishna6595
    @srikrishna6595 9 месяцев назад +1

    Can you please train more data to the SQL server

  • @tharunps8048
    @tharunps8048 9 месяцев назад

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

  • @qzwwzt
    @qzwwzt 6 месяцев назад

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

  • @dulshansamarakoon5068
    @dulshansamarakoon5068 9 месяцев назад

    Wow..

  • @satyajamalla1429
    @satyajamalla1429 8 месяцев назад

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

  • @1984tushu
    @1984tushu 4 месяца назад

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

  • @MustafaKhan-zr6ui
    @MustafaKhan-zr6ui 2 месяца назад

    is it possible that we modify it and then the user can enter his schema on which he would like to run his queries

  • @Debanjali-uk7wf
    @Debanjali-uk7wf 9 месяцев назад +1

    sir my API Key is not generating

  • @batigol_9
    @batigol_9 6 месяцев назад

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

  • @abhijitpatra1387
    @abhijitpatra1387 5 месяцев назад

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

  • @shashankpandey1966
    @shashankpandey1966 9 месяцев назад +3

    I had made one using Hugging face .

    • @pdevender
      @pdevender 9 месяцев назад +1

      could you please share your hugging face space link

    • @bihanbanerjee3541
      @bihanbanerjee3541 8 месяцев назад

      could you please share that link

    • @itzrao_
      @itzrao_ Месяц назад

      which model u have used in Hugging face for text to sql ..?

  • @anirudhgrack7560
    @anirudhgrack7560 9 месяцев назад +1

    Google AI Studio not available here in canada

    • @anirudhgrack7560
      @anirudhgrack7560 9 месяцев назад

      Any other way out ??

    • @swatik2509
      @swatik2509 9 месяцев назад

      ​@@anirudhgrack7560leave canada

  • @datasciencegyan5145
    @datasciencegyan5145 8 месяцев назад

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

  • @gerokatseros
    @gerokatseros 3 месяца назад

    actually last query was wrong, it would return all marks less except from largest. The question was to find student with second mark.

  • @BharatPatnawallah
    @BharatPatnawallah 9 месяцев назад +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 9 месяцев назад +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 9 месяцев назад

      @@raghavendranarayana1009 which domain have you chosen for your career

    • @pdevender
      @pdevender 9 месяцев назад

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

    • @raghavendranarayana1009
      @raghavendranarayana1009 9 месяцев назад +1

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

    • @pdevender
      @pdevender 9 месяцев назад

      @@raghavendranarayana1009 ok what was your answer then ?

  • @n.aniruddhan4464
    @n.aniruddhan4464 9 месяцев назад

    Sir NLP with deep learning one shot please

  • @_csds_PranjalSharma
    @_csds_PranjalSharma 5 месяцев назад

    plz make video on how to deploy it

  • @luckytalkz9442
    @luckytalkz9442 8 месяцев назад

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

    • @luckytalkz9442
      @luckytalkz9442 8 месяцев назад

      Hello sir please tell me? Why this happens

  • @chihebnouri5541
    @chihebnouri5541 8 месяцев назад

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

  • @yvens_data
    @yvens_data 8 месяцев назад

    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

  • @brightlyricsmusic
    @brightlyricsmusic 9 месяцев назад +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 7 месяцев назад

      Did you resolved this one buddy?

    • @brightlyricsmusic
      @brightlyricsmusic 7 месяцев назад

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

    • @alaparthinagabhaskar2318
      @alaparthinagabhaskar2318 5 месяцев назад

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

  • @JayantKumar-lq9lg
    @JayantKumar-lq9lg 7 месяцев назад

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

  • @rishichowdhury4296
    @rishichowdhury4296 9 месяцев назад

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

  • @Ai-ni3gs
    @Ai-ni3gs 9 месяцев назад +1

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

  • @jawadasif8130
    @jawadasif8130 9 месяцев назад

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

  • @bangarrajumuppidu8354
    @bangarrajumuppidu8354 9 месяцев назад +1

    Second ❤

  • @shashankpandey1966
    @shashankpandey1966 9 месяцев назад +1

    First❤

  • @RobbieMraz
    @RobbieMraz 6 месяцев назад

    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

  • @rohithak9419
    @rohithak9419 9 месяцев назад

    Like number 674

  • @programmerpro-hs8ro
    @programmerpro-hs8ro 7 месяцев назад

    Anyone did this one?

  • @UsmanCodeLab
    @UsmanCodeLab 9 месяцев назад

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

  • @nileshbhujbal7489
    @nileshbhujbal7489 3 месяца назад

    I will tell your AI bot to delete all data from xyz table...👿