Ultimate Guide to Building Chatbots to Chat with Your Data | AI Chatbot Tutorial

แชร์
ฝัง
  • เผยแพร่เมื่อ 17 ต.ค. 2023
  • Welcome to our ultimate guide on building powerful chatbots to have meaningful conversations with your data! In this comprehensive tutorial, we'll explore the fascinating world of Natural Language Processing and AI chatbots using Python, LangChain, Streamlit, and ChromaDB. Whether you're a beginner or an experienced developer, this video has something for everyone.
    Rich Dad Poor Dad Book: www.docdroid.net/Incp3Kq/rich...
    Github repo: github.com/Princekrampah/rag_...
    📂 Topics Covered:
    Document Retrieval Techniques:
    Maximum Marginal Relevance
    Contextual Compression
    Self Query
    Question Answering Techniques:
    Refine
    Map Reduce
    Building a User Interface (UI) with Streamlit:
    Working With Vector Stores and Embeddings
    Learn how to create an intuitive and user-friendly chatbot interface.
    👩‍💻 Our step-by-step guide will walk you through the entire process, making it easy to follow along and create your own data chatbot!
    🚀 Watch this video to:
    Understand the core concepts of document retrieval and question answering.
    Implement advanced NLP techniques using Python.
    Leverage LangChain, Streamlit, and ChromaDB to enhance your chatbot's capabilities.
    Develop a user-friendly chatbot interface with Streamlit.
    Don't miss out on this opportunity to enhance your AI and NLP skills. Whether you're building chatbots for research, business, or just for fun, this video will empower you to create impressive conversational AI systems.
    🌟 Tags to Help Make This Video Go Viral:
    #AI #Chatbots #NLP #Python #Streamlit #ChromaDB #LangChain #DataChatbot #MachineLearning #ProgrammingTutorial #ArtificialIntelligence #TechExplained #Coding #Tutorial #DataScience #AIChatbotTutorial
    🔔 Stay updated with our latest tutorials by subscribing and hitting the notification bell. If you found this video helpful, give it a thumbs up and share it with your friends. Also, feel free to ask any questions or leave your suggestions in the comments section below!
    📚 Looking for more AI and programming tutorials? Check out our channel for a wealth of knowledge and exciting projects. Thank you for watching, and let's dive into the world of intelligent chatbots together! 🤖💬
    Buy me a coffee:
    www.buymeacoffee.com/princez3
    Follow me on social media:
    Discord community server: / discord
    twitter: / prince_krampah
    Channel main page: / codewithprince
    Hope you enjoy today's video. Please show your love and support by just liking and subscribing to the channel so we can grow a strong and powerful community. Activate the 🔔 beside the subscribe button to get the notification!📩 If you have any questions or requests feel free to leave them in the comments below.
    Thank you for watching and see you in the next video!!
  • วิทยาศาสตร์และเทคโนโลยี

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

  • @HailayKidu
    @HailayKidu 6 วันที่ผ่านมา

    Thank you very much for the nice tutorial, I found it very nice.

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

    Thanks for this tutorial. I found it very usefull.

  • @M0dr0
    @M0dr0 9 หลายเดือนก่อน +3

    You are a blessing man. I pray the Almighty bestows his peace upon you always.

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

      Thanks brother, may God keep you safe and happy as well. Happy coding

  • @overwrite-techopinions4365
    @overwrite-techopinions4365 9 วันที่ผ่านมา

    installing requirements is giving me errors like pip is not finding the triton and other packages

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

    Can u please tell me how to deploy this project

  • @kishorekunal7194
    @kishorekunal7194 8 หลายเดือนก่อน +3

    Hey great tutorial , do you think it will do well if we use for production purpose ? , was thinking about deploying this on azure do you have any idea what are the computational requirements ?

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

      Hey, yes it should, but one thing I have noticed when I deployed it is that it works fine. Again most of these techniques discussed here are catching edge techniques and haven't been truly put to the test. Alot more advancement is done daily (the AI hype is real...😂). I have this deployed myself for a project and it's doing well so far. Even OpenAI RAG sometimes misbehaves if you ever tried it out. My suggestion will be yah, go ahead and deploy. You don't need much of configs and hardware specs, I have it running on 4gig RAM linode server and it works fine. I would really want to know how it performs on Azure. Let's get in touch, kindly email me at: codingshark206@gmail.com

    • @servantofthemerciful3511
      @servantofthemerciful3511 8 หลายเดือนก่อน +1

      ​@@CodeWithPrince can you make tutorial regarding how to deploy this app ? No where found any effective tutorial about that.

  • @kukkadapudheeraj1358
    @kukkadapudheeraj1358 8 หลายเดือนก่อน +2

    The openAI api key you have used in the video, Is it in the free tier??..

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

      Yes, it is. You get some tokens for free initially.

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

    Hola, talvez tienes un tutorial de hacer un chatbots con csv en llama2 y langchain. ?? de forma local. te lo agradecería infinitamente

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

      Thanks for the suggestion, I'll work on such a video tutorial.

  • @craizhunterx9033
    @craizhunterx9033 18 วันที่ผ่านมา +1

    In document loading, why it gives error
    ValueError: Batch size 227 exceeds maximum batch size 166
    I clone using your github

    • @CodeWithPrince
      @CodeWithPrince  18 วันที่ผ่านมา

      Hey, just try adjusting your batch size as the error says. Bit of googling helps here

    • @craizhunterx9033
      @craizhunterx9033 18 วันที่ผ่านมา

      @@CodeWithPrince one question again. Why the streamlit error says "list out of index" when I ask question "what is the book about?". I dont change anything from the github repo

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

    Hello. I currently have a chatbot that does this hosted on AWS. My issue is that the Conversation context of multiple users is not separate. Do you know how to resolve this?

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

      Hello, I understand your problem. You can reach out toe via my email on the main channel page.

  • @satvalite1854
    @satvalite1854 7 หลายเดือนก่อน +1

    hi it is showing me invalid url for the embedding model that u used from hugging face
    can u help me out

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

      Hey, I used Sentence transformer. What URL are you referring to?

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

    Hey I have created new API Key and while excecuting in terminal it says you exceeded your current quota.How to solve this

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

      Yes, this is because you need to add some money to the account, this is from the official docs: "Auto recharge is off
      When your credit balance reaches $0, your API requests will stop working. Enable automatic recharge to automatically keep your credit balance topped up." Below this statement on the page, click enable auto recharge option. Once this is done, click on "Add To Credit Balance" button and specify the amount you wish to pay. Thats it, hope this helps

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

    is it not Free API error': {'message': 'You exceeded your current quota, please check your plan and billing details. what should i do

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

      please rply me and help me

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

    Can it even work when my system is offline and I just need the chat support

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

      Sadly not, you can use a local model and that will work fine. I have videos on using Llama-2 locally on the channel

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

      @@CodeWithPrince yes but i am having this error
      C:\Users\sneha\Videos
      ag2\venv\Lib\site-packages\onnxruntime\capi\onnxruntime_validation.py:26: UserWarning: Unsupported Windows version (11). ONNX Runtime supports Windows 10 and above, only.
      warnings.warn(
      Traceback (most recent call last):
      File "C:\Users\sneha\Videos
      ag2\documentsloading\load_n_split.py", line 20, in
      vectordb.add_documents(
      File "C:\Users\sneha\Videos
      ag2\venv\Lib\site-packages\langchain_core\vectorstores.py", line 119, in add_documents
      return self.add_texts(texts, metadatas, **kwargs)
      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      File "C:\Users\sneha\Videos
      ag2\venv\Lib\site-packages\langchain_community\vectorstores\chroma.py", line 311, in add_texts
      raise e
      File "C:\Users\sneha\Videos
      ag2\venv\Lib\site-packages\langchain_community\vectorstores\chroma.py", line 297, in add_texts
      self._collection.upsert(
      File "C:\Users\sneha\Videos
      ag2\venv\Lib\site-packages\chromadb\api\models\Collection.py", line 483, in upsert
      embeddings = self._embed(input=documents)
      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      File "C:\Users\sneha\Videos
      ag2\venv\Lib\site-packages\chromadb\api\models\Collection.py", line 629, in _embed
      raise ValueError(
      ValueError: You must provide an embedding function to compute embeddings.docs.trychroma.com/embeddings

  • @arnavsharma2860
    @arnavsharma2860 18 วันที่ผ่านมา +1

    Hi, can you try this project with free OpenAI API account?

    • @CodeWithPrince
      @CodeWithPrince  18 วันที่ผ่านมา

      Hello, yes, it should work

    • @arnavsharma2860
      @arnavsharma2860 18 วันที่ผ่านมา

      @@CodeWithPrince well on running the code it simply said token limit exceeded for my free openai account.
      I tried with another API key generated from a completely new account with no prior usage of any API key and the same error

  •  6 หลายเดือนก่อน +1

    this code is not offline running. need Openai API - for who want to know

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

      Hey, yes you need internet. Online

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

    Don't you have a github?

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

      Hey, it's in the videos description. Click on the link there

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

      I've find it!

  • @mpyamatleke1898
    @mpyamatleke1898 8 หลายเดือนก่อน +1

    hey , I'm getting an error saying ,
    raise ValueError("File path %s is not a valid file or url" % self.file_path)
    ValueError: File path ../mydocument/Rich-Dad-Poor-Dad.pdf is not a valid file or url
    what might be the issue , i followed every step on your code . please help .

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

      Hey, the issue is your path specifications as the error points out. Make sure to have the path right. Let me know how it goes

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

      @@CodeWithPrince hi , im having problems with implementing vector store , it doesnt show the vector folder like your .