Grow your YouTube views, likes and subscribers for free
Get Free YouTube Subscribers, Views and Likes

Chat with Multiple PDFs | LangChain App Tutorial in Python (Free LLMs and Embeddings)

Follow
Alejandro AO - Software & Ai

In this video you will learn to create a Langchain App to chat with multiple PDF files using the ChatGPT API and Huggingface Language Models.

Welcome to our comprehensive stepbystep tutorial on building a powerful chatbot that allows you to ask questions about your multiple PDFs using LangChain and ChatGPT API. In this projectbased video tutorial, we will guide you through the process of harnessing the capabilities of LangChain, a cuttingedge framework for developing language modelpowered applications.


USEFUL LINKS
Github repo: https://github.com/alejandroao/askm...

Join the Discord Help Server https://link.alejandroao.com/HrFKZn
❤ Buy me a coffee... or a beer (thanks): https://link.alejandroao.com/l83gNq
✉ Join the mail list: https://link.alejandroao.com/AIIguB


Powered by ChatGPT, an advanced AI language model, our chatbot implementation enables you to interact with your PDF documents in a whole new way. We will also explore the utilization of Huggingface language models to enhance the chatbot's performance.

Throughout this Python tutorial, you'll learn how to integrate LangChain into your application, leveraging its dataawareness and agentic features, allowing your language model to tap into various data sources and interact with its environment seamlessly.

Key Topics Covered:
Introduction to LangChain and its principles of data awareness and agency
Exploring the capabilities of ChatGPT API and its potential for artificial intelligence applications
Stepbystep walkthrough on setting up the LangChain framework in Python
Integration of Huggingface language models for enhanced chatbot functionality
Building a projectbased chatbot application that answers questions based on your PDFs
Optimizing your chatbot for efficient and accurate responses
Best practices for leveraging opensource GPT models, including GPT3.5 and GPT4
Unlocking the potential of ChatGPT and LangChain to create innovative applications

Whether you're a developer, AI enthusiast, or simply curious about the world of artificial intelligence, this tutorial is perfect for you. Join us on this exciting journey to develop your very own PDFpowered chatbot using LangChain, ChatGPT API, and the power of Python.


TIMESTAMPS
0:00 Intro
1:31 Setup
3:26 Create GUI
8:50 Add your API Keys
11:46 How this works (Diagram)
16:41 Handle process button
19:43 Extract text from PDFs
24:33 Split text into Chunks
29:26 Embedings
32:30 OpenAI Embeddings
36:24 Instructor Embeddings
40:57 Create ConversationChain
46:18 Make conversation persistent
50:14 HTML templates
55:04 Display Chat History
1:02:05 Free Huggingface LLM
1:06:10 Conclusion

Keywords:
#ChatGPT #streamlit #langchain #OpenAI

posted by Tohmeoq