How to build the FASTEST AI chatbot with Groq and Streamlit

Поділитися
Вставка
  • Опубліковано 26 гру 2024

КОМЕНТАРІ • 30

  • @Daniel_hay
    @Daniel_hay 8 місяців тому +7

    insane just built this and changed the UI to fit my company

  • @mr.x1908
    @mr.x1908 2 місяці тому +1

    Thanks for sharing this video!
    There is an option to build registration and user settings + chats archive to it?

  • @kakashi_vladivostok
    @kakashi_vladivostok 6 місяців тому +1

    Local url working fine is my system but if I go to network url then 'this site can't be reached' 😢

  • @mouryace1976
    @mouryace1976 5 місяців тому +3

    dude it says secrets file not found i am trying solve this error if anyone knows how to solve it

    • @tonykipkemboi
      @tonykipkemboi  5 місяців тому +1

      @@mouryace1976 you need to add a folder to your root directory ".streamlit/secrets.toml" then in the secrets.toml file, save the API keys in there like this :
      GROQ_API_KEY="your-api-key"
      Also, follow this guide docs.streamlit.io/deploy/streamlit-community-cloud/deploy-your-app/secrets-management

    • @mouryace1976
      @mouryace1976 5 місяців тому +1

      @@tonykipkemboi 😃🤝my sinciere thankings for responding back dude but i have encountered another situation now it says
      module 'streamlit' has no attribute 'write_stream'
      NameError: name 'full_response' is not defined
      -these two errors i have encountered and i am unable solve them even after i go through the streamlit documentation if possible could u provide me with a solution

    • @tonykipkemboi
      @tonykipkemboi  5 місяців тому +1

      @@mouryace1976 check your Streamlit version & make sure to upgrade to the latest version v1.35. Also, if it keeps failing, paste the code on ChatGPT and it will most likely get you the bug.

    • @mouryace1976
      @mouryace1976 5 місяців тому +1

      Tq dude it works

    • @tonykipkemboi
      @tonykipkemboi  5 місяців тому

      @@mouryace1976 glad it worked!

  • @thebudaxcorporate9763
    @thebudaxcorporate9763 8 місяців тому +1

    how to add, image or file in prompt, so we can combine asking with, prompt , image or file?

    • @tonykipkemboi
      @tonykipkemboi  8 місяців тому +1

      For this app, I didn't implement RAG. It's just a chatbot using the models and to display the speed.

    • @thebudaxcorporate9763
      @thebudaxcorporate9763 8 місяців тому +1

      @@tonykipkemboi thanks man, keep it up

    • @tonykipkemboi
      @tonykipkemboi  8 місяців тому

      @@thebudaxcorporate9763, thank you!

  • @martin-xq7te
    @martin-xq7te 2 місяці тому +2

    Great short-to-the-point tutorial. THANKYOU. How about a streamlit Pandas AI app for a tutorial?

    • @tonykipkemboi
      @tonykipkemboi  2 місяці тому

      Thank you! Can you explain more on how this would look like in the back-end? What is Pandas doing exactly?

  • @ruidinis75
    @ruidinis75 8 місяців тому +2

    insane fast. I made some changes so it would read a html page , could be a pdf too and answer about it but I cant have it work without having ollama running on my pc, is this the way ? Because if I want to share my app it wont work for others if they dont have ollama running on their pcs. Maybe you could make a video having Groq chatting about your documents.

  • @wellingtondepiatti4041
    @wellingtondepiatti4041 2 місяці тому +2

    Congratulations Tony, for the video and sharing knowledge. He helped me with several project ideas. I want to connect streamlit + groq + sql server, to create a sales analysis chatbot, can you give me some guidance on how to do this?

    • @tonykipkemboi
      @tonykipkemboi  2 місяці тому

      @@wellingtondepiatti4041 glad you found it helpful. You could also use agents to do this. If you explain the process more I can probably build a tutorial for this as well.

  • @pierre-louis4519
    @pierre-louis4519 8 місяців тому +1

    Again...
    Another video.
    Another surprise.
    You are killing me. 🤣

    • @tonykipkemboi
      @tonykipkemboi  8 місяців тому +1

      Am cooking 🧑‍🍳 🤣

    • @pierre-louis4519
      @pierre-louis4519 8 місяців тому +1

      @@tonykipkemboi What ? You are cooking, I was supposing your computer is cooking for you. 🤣
      I have a question for the master : In this application, is the IA hosted locally or somewhere in the cloud ?🤔

    • @tonykipkemboi
      @tonykipkemboi  8 місяців тому +1

      @@pierre-louis4519 this is using API from Groq who are the ones hosting these models.

  • @MuhammadZamanAli-xc1vy
    @MuhammadZamanAli-xc1vy 9 місяців тому +2

    Great Bro keep it up

  • @neonmuthoni218
    @neonmuthoni218 4 місяці тому +1

    Can you do for a next.js project

    • @tonykipkemboi
      @tonykipkemboi  4 місяці тому

      I do most of my projects in Python, but good idea maybe I can do one using @vercel's v0.