Skip to content

honghua/langchain-rag

Repository files navigation

RAG demo with Llama3

Prerequisite

You'll need to set up an Huggingface account to download LLama model from transformers

pip install -U "huggingface_hub[cli]"

huggingface-cli login

Install dependencies

  1. Now run this command to install dependenies in the requirements.txt file.

    pip install -r requirements.txt
  2. Install markdown depenendies with:

    pip install "unstructured[md]"

Launch demo UI

  1. Launch server

    python demo.py
  2. Upload documents

  3. query in chat

Demo site

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •