PDFGPT is a web application built with React and Flask that leverages the power of OpenAI's GPT-3.5 model to generate text summaries and responses based on input PDF documents. It utilizes various technologies and libraries including Langchain, FAISS, OpenAI embedding, and GPT-3.5 turbo model.
To run PDFGPT locally, follow these steps:
Clone the repository:
git clone <repository_url>
Navigate to the project directory:
cd PDFGPT
Install dependencies for the frontend:
cd frontend
npm install
Install dependencies for the backend:
cd ../backend
pip install -r requirements.txt
Set up environment variables:
.env
file in the backend
directory..env
file:OPENAI_API_KEY=<your_openai_api_key>
Run the backend:
flask run
Run the frontend:
npm start
Access the application in your browser at http://localhost:3000
.
Contributions to PDFGPT are welcome! If you have any ideas for improvements, new features, or bug fixes, feel free to open an issue or submit a pull request.
This project is licensed under the MIT License.
PDFGPT was made possible thanks to the following technologies and libraries:
For any inquiries or feedback, please contact (mail to:gang.expert.99@gmail.com).
Feel free to customize the content as needed for your project!