Docu-inquire is platform allowing users to engage in conversational interactions with PDF documents using LLM by Open AI.
Click here for live version
- Pinecone (Vector Database)
- Aiven (MySQL Database)
- uploadthing (File Storage)
- Clone the repo
$ git clone https://github.com/aviralj02/https://github.com/aviralj02/docu-inquire
- Install packages
$ yarn install
-
Create a
.env.local
file and fill up the details like in .env.example -
Run the following command to generate the Prisma client based on your schema
$ npx prisma generate
- If you have made any changes to the schema, you need to run prisma migrations to sync your database with the schema
$ npx prisma migrate dev
- Spin up the development server
$ yarn dev
- PENDING - File not uploaded yet.
- PROCESSING - File is uploaded on uploadthing but not indexed on vector db.
- FAILED - Either not able to get indexed on vector db or not able to connect with OpenAI.
- SUCCESS - Uploaded + Connected with OpenAI + Vectorized on Pinecone.