Skip to content

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).

tushargoplani/openai-qdrant-chatbot

Repository files navigation

How to run this

  1. Clone this repo.
  2. Run command "npm i" to install the dependencies.
  3. Then run "npm run start" to start the server and server will be start on port 3000.
  4. 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.
  5. After successfully creating app, we can ask question on /query endpoint which is POST request.
  6. Body Parameters that are require to call /query endpoint are question and appId (_id).

About

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).

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published