This is a web app build with flask.It can be used to ask question from the your pdf. It uses ChatGPT directly without the API so it is completely free of cost.
Note :
git in your pc. Install gitNode js and python installed in your to use this apppowershell or bash in the directory you want this app in.git clone https://github.com/DevDeepakBhattarai/ask-your-pdf.git
Thank you for using our Express and Flask apps! Before you get started, please follow the instructions below to set up the necessary environment variables for both apps.
In the js folder, you will find our Express app. To run it successfully, you need to update the .env.example file with your specific configurations. Here's how you can do it:
.env.example in the js folder..env.env file using a text editor.EMAIL: Replace this with your chat gpt email address.PASSWORD: Replace this with your chat gpt password.Make sure to save the changes after updating the variables. The Express app will now be able to use the values you provided in the .env file.
In the py folder, you will find our Flask app. To set up the environment for this app, follow these steps:
py folder..env.example file and rename it to .env ;open it with a text editor..env file:
PINECONE_API_KEY: Replace this with your Pinecone API key, which is required for certain functionalities in the app.PINECONE_ENVIRONMENT: Replace this with the appropriate environment setting for your Pinecone account.Once you have updated the values for these variables, save the changes to the .env file.
.env folder in ./py/With these environment variables set up in both apps, you are now ready to run the Express and Flask apps with your custom configurations.
install.bat file which is provided to install the required dependencies.run.bathttp://localhost:5000 to use the app