Skip to content

bhavya-giri/chat-history

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 

Repository files navigation

chat-history

Storing chat history of your RAG Pipelines like ChatGPT, also accessing previous context in conversation.

This project is based on the blog post "Storing Chat History like ChatGPT for your RAG Pipeline with previous context - LlamaIndex, FastAPI" written by me.

Demo Video

Trimmed.Video.online-video-cutter.com.mp4

Run Locally

Backend

Go to the backend directory

  cd backend

Create and activate virtual environment

  python -m venv .venv
  source .venv/bin/activate

Install dependencies

  pip install -r requirements.txt

Rename .env.example to .env and update the environment variables with your configuration.

  mv .env.example .env

Start the server

  uvicorn src.main:app --reload

Frontend

Go to the frontend directory

  cd frontend

Install dependencies

  npm install

Start the app

  npm run dev

Then head to http://localhost:5173/chat

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published