Skip to content

Integrate Llamaindex, ChromaDB, Chainlit to build an advanced chatbot (an upgrade version of my MicroGPT repo)

Notifications You must be signed in to change notification settings

ChungYujoyce/rag-chatbot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

429fcf9 · May 23, 2024

History

31 Commits
Apr 30, 2024
May 18, 2024
May 7, 2024
May 18, 2024
May 18, 2024
May 23, 2024
May 23, 2024
May 18, 2024
May 18, 2024
May 13, 2024
May 23, 2024
May 23, 2024
May 18, 2024
May 2, 2024
May 23, 2024

Repository files navigation

Integrate Llamaindex, ChromaDB, Chainlit to build an advanced chatbot (an upgrade version of my MicroGPT repo)

Sample Qeustion you can ask:

Please note that if changing a topic, refresh the page or click 'New Chat' button on the top right.

Get the Repo

git clone https://github.com/ChungYujoyce/rag-chatbot.git

Go to link and download the folders, place them in the repo.

  • chroma_db_v1
  • chroma_db_v1_ds
  • csvtest
  • SOURCE_DOCUMENTS

Llama3 8B vLLM Server

docker pull docker.io/jj0122/microgpt:vllmv0.4.1
docker run -it --network my_network --name vllm jj0122/microgpt:vllmv0.4.1  /bin/bash

In the docker, run below commands to start the server

cd rag-chatbot/server
bash 1_start_server_vllm.sh

ChatBot Client

docker pull docker.io/jj0122/rag_app:0522
docker run -it --network my_network --name index jj0122/rag_app:0522   /bin/bash

In the docker, run below commands to start the client (the port number in the bash file should be changed to an appplicable one)

cd rag-chatbot/
bash run-test.sh

Stop the Client

bash clean.sh

About

Integrate Llamaindex, ChromaDB, Chainlit to build an advanced chatbot (an upgrade version of my MicroGPT repo)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published