An interactive AI chatbot for querying and discussing the contents of PDF documents using Streamlit and AI language models.
This project provides a user-friendly interface to interact with AI language models and extract information from PDF documents. It's particularly useful for researchers, students, and professionals who need to quickly access and query the content of PDF files without manually skimming through pages.
The chatbot integrates with OpenAI's language models, making it capable of answering a wide range of questions and engaging in natural language conversations about the content within the uploaded PDFs.
To get started with this project, follow the steps below.
Before using the chatbot, ensure you have the following installed:
- Python 3.x 🐍
- pip (Python package manager) 📦
-
Clone the repository:
git clone https://github.com/yesbhautik/Talk-with-PDF.git
-
Navigate to the project directory:
cd Talk-with-PDF
-
Install the required Python packages using pip:
pip install -r requirements.txt
-
Copy .env.example to .env and set your OpenAI & Hugging Face API keys:
cp .env.example .env
-
Run the chatbot using the following command:
streamlit run app.py
-
The chatbot interface will open in your default web browser 🌐
-
Upload one or more PDF files for processing 📂
-
Start a conversation by asking questions or making inquiries about the PDF content 💬
-
The chatbot will provide responses based on the content of the uploaded PDFs 🧠
- Upload and process multiple PDF documents 📁
- Query and discuss the contents of PDFs using natural language 💬
- Integrates with powerful language models for accurate responses 💡
- User-friendly web interface powered by Streamlit 🖥️
Contributions are welcome! Please follow these steps to contribute to the project:
- Fork the repository🍴
- Create a new branch for your feature or bug fix 🌿
- Make your changes and commit them 💻
- Push your changes to your fork 🚀
- Create a pull request to the main repository 📥
If you find this repository helpful, show your support by giving it a 🌟! Your support means a lot to me and helps me keep contributing to the open-source community.
Also, if you'd like to support me financially, you can do so via my donation link: https://go.yesbhautik.co.in/8i6wdu
Feel free to reach out to us if you have questions, ideas, or simply want to chat. We're here to help and connect with the community.
- Website: https://yesbhautik.co.in/
- Another One: https://yesbhautikx.co.in/
- LinkedIn profile: https://www.linkedin.com/in/yesbhautik
- Instagram page: https://www.instagram.com/yesbhautik
This repository is under the MIT License. For more information, see the LICENSE file.