Train-AI-agent-on-mutiple-PDF
Train-AI-agent-on-mutiple-PDF copied to clipboard
The Multi-PDF's Chat Agent is a Streamlit-based web application designed to facilitate interactive conversations with a chatbot. The app allows users to upload multiple PDF documents, extract text inf...
Multi-PDF's Chat Agent
This is a Streamlit-based web application that allows users to interact with a chatbot trained on information extracted from multiple PDF documents.
Description
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.
Features
- 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.
Installation
- Clone the repository to your local machine.
- Install the required packages using
pip. - Create a
.envfile in the project directory and add your OpenAI API key > OPEN_AI_APIKEY=your-openai-api-key
Usage
- 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.