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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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


Languages

Language:JavaScript 100.0%