Welcome to the LangChain repository! This repository houses two distinct projects, each offering unique functionalities powered by Streamlit, LangChain, and OpenAI. Let's explore each project and get you started.
The ChatBot project brings an AI-driven chatbot to life through a Streamlit web application. This chatbot allows you to engage in conversations with various language models, providing a versatile and interactive experience.
-
Clone the Repository:
git clone https://github.com/your-username/chatbot-project.git cd chatbot-project
-
Install Dependencies:
pip install -r requirements.txt
-
Run the Application:
streamlit run app.py
-
Configure Settings:
- Fill in the required parameters in the Streamlit sidebar.
- Click the "All details filled! ✅" button to initiate scraping if a website URL is provided.
-
Interact with the ChatBot:
- Enter messages in the chat input box to engage with the chatbot.
- The assistant's responses will be displayed in the chat.
The PDF ChatBot project focuses on processing PDF files and extracting information using LangChain and OpenAI. This chatbot enhances your PDF interaction experience, making it dynamic and conversational.
-
Clone the Repository:
git clone https://github.com/your-username/pdf-chatbot.git cd pdf-chatbot
-
Install Dependencies:
pip install -r requirements.txt
-
Run the Application:
streamlit run app.py
-
Configure OpenAI API Key:
- Follow the instructions in the application to input your OpenAI API key.
-
Interact with the PDF ChatBot:
- Upload a PDF file using the file uploader.
- Enter questions about the PDF in the text input field.
- Click "Ask questions about your PDF file" to receive dynamic responses.
If you encounter any issues during installation or execution, please refer to the Troubleshooting section in the individual project READMEs.
These projects leverage the power of Streamlit for the web interface, LangChain for text processing, and OpenAI for language models.
Enjoy exploring and interacting with both ChatBot and PDF ChatBot! 🤖💬