Build a PERSONAL CHATBOT with LangChainAI MEMORY with ChatGPT-3.5-Turbo API in PYTHON
In this tutorial, we will use the #langchain, #openai, and Databutton to create a PDF #chatbot in #python. This chatbot comes with a Conversational Memory feature which helps in remembering the running context which is one of the pivotal aspects of any chatbot. - Live Demo App- https://next.databutton.com/v/lgzxq112/Personalised_Memory_Bot - LangChain docs : https://langchain.readthedocs.io/en/latest/index.html - LangChain Prompt Memory module: https://langchain.readthedocs.io/en/latest/modules/memory.html#memory - LangChain Conversation Buffer Memory - https://python.langchain.com/en/latest/modules/memory/types/buffer.html - LangChain Retrieval - https://blog.langchain.dev/retrieval/ - LangChain Repo : https://github.com/hwchase17/langchain - @riff_aiofficial : http://databutton.com/login?utm_source=youtube&utm_medium=avra&utm_article=personalmemorybot - @OpenAI : https://openai.com - @streamlitofficial : https://streamlit.io - Open AI GPT3.5 model - https://platform.openai.com/docs/models/gpt-3-5 - knowledge_gpt - https://github.com/mmz-001/knowledge_gpt πΉ Related Videos to watch : 1. How to Build a CHAT BOT with ChatGPT API (GPT-3.5-TURBO) having CONVERSATIONAL MEMORY in Python - https://youtu.be/cHjlperESbg 2. OpenAI GPT-3 CHAT BOT π€ within Streamlit Python Web app π| Python @OpenAIβ @streamlit5916β - https://www.youtube.com/watch?v=BHwVRI9N8B0 3. USING π¦ LANGCHAIN AIs SequentialChain π : BUILD - @OpenAI @streamlit Web APP | Python - https://youtu.be/VVSiI-FFrV0 4. OpenAI GPT-3 + Streamlit WEB APPS | Python |Article Summarizer using text-davinci-003 model @OpenAI - https://www.youtube.com/watch?v=cVBUOQAlrOw 5. I built my own SEMANTIC TEXT SEARCH WEB APP using OPENAI EMBEDDINGS + STREAMLIT | ada-002 engine - https://youtu.be/393BsKexv2A 6. Using chatGPT to build a Machine Learning Web App in Python! - https://www.youtube.com/watch?v=LgdMhDqj77c π€ Related Playlist : 1. Streamlit - OpenAI - https://youtube.com/playlist?list=PLqQrRCH56DH82KNwvlWpgh3YJXu461q69 2. Streamlit Tutorials - https://youtube.com/playlist?list=PLqQrRCH56DH8JSoGC3hsciV-dQhgFGS1K π Blog Post to refer : 1. How to build a Chatbot with ChatGPT API and a Conversational Memory in Python - https://medium.com/@avra42/how-to-build-a-chatbot-with-chatgpt-api-and-a-conversational-memory-in-python-8d856cda4542 2. Getting started with LangChain β A powerful tool for working with Large Language Models - https://medium.com/@avra42/getting-started-with-langchain-a-powerful-tool-for-working-with-large-language-models-286419ba0842 3. Summarizing Scientific Articles with OpenAI β¨ and Streamlit - https://medium.com/@avra42/summarizing-scientific-articles-with-openai-and-streamlit-fdee12aa1a2b?source=rss-bf79cad6afa1------2 4. Build Your Own Chatbot with openAI GPT-3 and Streamlit - https://medium.com/@avra42/build-your-own-chatbot-with-openai-gpt-3-and-streamlit-6f1330876846?source=rss-bf79cad6afa1------2 5. Build a Personal Search Engine Web App using Open AI Text Embeddings - https://medium.com/@avra42/build-a-personal-search-engine-web-app-using-open-ai-text-embeddings-d6541f32892d π» GitHub code for all my YouTube tutorials (Support with π if you like it!)- https://github.com/avrabyt/YouTube-Tutorials βοΈ Want to support me in creating more free content? https://www.buymeacoffee.com/AvraCodes π GitHub - https://github.com/avrabyt π₯ Stay connected with me over Twitter - https://twitter.com/Avra_b π Read my blogs here - https://medium.com/@avra42 π Website - https://avratanubiswas.github.io/ π΄ Don't forget to subscribe to my channel if you like my videos! π₯ By becoming a patron, you'll get access to exclusive content, codes, or videos beforehand, one-to-one web app development / relevant discussion, live-chat with me on specific videos and other perks. ( FYI : Basic Tier is 50% cheaper than ChatGPT/monthly with benefits which an AI can't help with π ): https://patreon.com/user?u=82100262&utm_medium=clipboard_copy&utm_source=copyLink&utm_campaign=creatorshare_creator&utm_content=join_link #langchain #openai #streamlit #nlp #openaigpt3 #pythonprogramming #python #pythonforbeginners #webdevelopment #datascience #openaimodels #machinelearning #webapp #openaimodels #avra #avrastreamlit #chatbotgpt #chatbotdevelopment #conversationalchain Video Segments 0:00 Intro and What we are building today 4:11 Databutton usage 5:40 Importing modules and functions 7:20 Writing the app 1 - Loading PDF files 8:56 Writing the app 2 - Working with OpenAI + Embeddings 10:38 Writing the app 3 - Implement LangChain modules for Q&A and Tools 17:05 Test the app 19:34 Wrap up
Download
1 formatsVideo Formats
Right-click 'Download' and select 'Save Link As' if the file opens in a new tab.