This application allows users to perform question answering on PDF files. Users can upload a PDF file, input their OpenAI API key, ask questions related to the content of the PDF, and receive answers displayed in the browser.
- Upload a PDF file.
- Input OpenAI API key for question answering.
- Ask questions related to the content of the PDF.
- Display answers in the browser.
- Advanced settings for question answering.
- Docker installed on your machine.
-
Clone this repository:
git clone https://github.com/onlyumangsri/pdf-reader-chat.git
-
Navigate to the project directory:
cd <to-your-project-directory>
-
Build the Docker image:
docker build -t pdf-qa-app . -
Run the Docker container:
docker run -p 8888:8888 pdf-qa-app
-
Open your web browser and go to
http://localhost:8888. -
Follow the on-screen instructions to use the application.
- Change the port mapping (
-p) in thedocker runcommand to run the application on a different port if needed.
Contributions are welcome! Please feel free to submit a pull request.
This project is licensed under the MIT License.