- Clone this repo.
- Run command "npm i" to install the dependencies.
- Then run "npm run start" to start the server and server will be start on port 3000.
- To create an new app, Endpoint is /app and in query name and description are required and in body (formdata) file key is required in which we can send multiple files to api of PDF and CSV format And the request type is POST.
- After successfully creating app, we can ask question on /query endpoint which is POST request.
- Body Parameters that are require to call /query endpoint are question and appId (_id).
tushargoplani/openai-qdrant-chatbot
NodeJS Application to ask questions from files by uploading them. I have used open ai chat completion and embeddings. And to store embeddings I have used Qdrant (Vector DB).
JavaScript