App that lets you answer questions from the document uploaded.
- App let's you upload questions in JSON and adds documents in PDF from where we have to find answers to questions.
- App provides and API that we integrate with any frontend.
To run this project, you will need to add the following environment variables to your .env file
OPENAI_API_KEY
PINECONE_API_KEY
PINECONE_ENVIRONMENT
PINECONE_INDEX
You can simply perform the following command to prepare the env template.
cp .env.example .env
Add the value to the environment variables on your end.
Clone the project
git clone https://github.com/abhijeetps/question-answer
Go to the project directory
cd question-answer
Install dependencies
pip install -r requirements.txt
Add environment variables to .env file.
Start the server
uvicorn server:app --reload