Skip to content

IIT-Patna-Inter-IIT-Tech-Meet/DevRev-chatbot-backend

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Chatbot Backend

This project is made using FastAPI. This serves as a backend to the frontend chatbot.

Note: We consider updation or deletion as a new few, so the extra overhead should be counted as one-time setup.

Run Locally

Go to the project directory

  cd chatbot-backend

Install dependencies

  pip install -r requirements.txt
   conda create --name myenv
   conda activate myenv
   conda env update --name myenv --file environment.yml --prune

Add your OpenApi key in main.py

  OPENAPIKEY = 'XXXXXXXXXXXXXXXXXX'

Start the server

  uvicorn main:app --reload

API Reference

Process the user query and sends the output

  POST /api/query
Parameter Type Description
query string Required. The user query from the frontend

Tech Stack

Server: FastAPI, OpenAPI, Langchain

Database: ChromaDB

About

DevRev chatbot backend for InterIIT 2023

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages