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!! - วิทยาศาสตร์และเทคโนโลยี
Thank you very much for the nice tutorial, I found it very nice.
Thanks for this tutorial. I found it very usefull.
You are a blessing man. I pray the Almighty bestows his peace upon you always.
Thanks brother, may God keep you safe and happy as well. Happy coding
installing requirements is giving me errors like pip is not finding the triton and other packages
Can u please tell me how to deploy this project
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 ?
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
@@CodeWithPrince can you make tutorial regarding how to deploy this app ? No where found any effective tutorial about that.
The openAI api key you have used in the video, Is it in the free tier??..
Yes, it is. You get some tokens for free initially.
Hola, talvez tienes un tutorial de hacer un chatbots con csv en llama2 y langchain. ?? de forma local. te lo agradecería infinitamente
Thanks for the suggestion, I'll work on such a video tutorial.
In document loading, why it gives error
ValueError: Batch size 227 exceeds maximum batch size 166
I clone using your github
Hey, just try adjusting your batch size as the error says. Bit of googling helps here
@@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
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?
Hello, I understand your problem. You can reach out toe via my email on the main channel page.
hi it is showing me invalid url for the embedding model that u used from hugging face
can u help me out
Hey, I used Sentence transformer. What URL are you referring to?
Hey I have created new API Key and while excecuting in terminal it says you exceeded your current quota.How to solve this
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
is it not Free API error': {'message': 'You exceeded your current quota, please check your plan and billing details. what should i do
please rply me and help me
Can it even work when my system is offline and I just need the chat support
Sadly not, you can use a local model and that will work fine. I have videos on using Llama-2 locally on the channel
@@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
Hi, can you try this project with free OpenAI API account?
Hello, yes, it should work
@@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
this code is not offline running. need Openai API - for who want to know
Hey, yes you need internet. Online
Don't you have a github?
Hey, it's in the videos description. Click on the link there
I've find it!
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 .
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
@@CodeWithPrince hi , im having problems with implementing vector store , it doesnt show the vector folder like your .