This is a Streamlit-based web application that allows users to interact with a chatbot trained on information extracted from multiple PDF documents.
The Multi-PDF's Chat Agent is built using Streamlit and LangChain libraries. It provides a user-friendly interface for users to upload PDF documents, extract textual information from them, train a chatbot on the extracted content, and then have conversations with the chatbot.
- Upload multiple PDF documents for text extraction.
- Train a chatbot on the extracted textual content.
- Have interactive conversations with the chatbot.
- Easily manage the training process and interactions.
- Clone the repository to your local machine.
- Install the required packages using
pip
. - Create a
.env
file in the project directory and add your OpenAI API key > OPEN_AI_APIKEY=your-openai-api-key
- Run the Streamlit application: streamlit run app.py
- Use the sidebar to upload PDF files and train the chatbot.
- Once trained, you can have conversations with the chatbot by entering questions in the text input field.