The PDF Intelligence Chat App is a powerful A.I application built using LangChain, PyPDF2 and OpenAI API to assist users in interacting with multiple PDF's. With its advanced capabilities, this application allows users to extract relevant information from PDF documents and obtain answers to their quesitons based on the content withing the files.
Begin by installing the necessary dependencies. Make sure you have Python installed on your system. Then, run the following command to install the required libraries:
pip install requirements.txt
Next, set up the application's configuration. Create a .env file in the root directory of the application and provide the necessary environment variables, such as API keys and access credentials. Use the following template:
API_KEY=your_openai_api_key
- Start the PDF Intelligence Application by running the following command in your terminal:
streamlit run app.py
-
Since the application is running, open your web browser and navigate to https://localhost:8501/. You will be presented with a user-friendly interface. Use the provided file upload feature to select and upload the PDF files you want to process.
-
After the PDF files are uploaded and processed, you can start asking questions about the content. Type your question into the input field and press "Enter" when done.
-
The application will analyze the PDF files and provide you with the most relevant answers based on the content. The answers will be displayed on the screen, allowing you to quickly access the information you need.
MIT License