Skip to content

Latest commit

 

History

38 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

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

1 star

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages