/FedRAG

Primary LanguagePython

FedRAG: Federated Retrieval Augmented Generation

Demo Video

demo-video.mp4

(Should the video above fail to play, click here to view it directly.)

How it Works

Picture1

Prerequisite

  • OpenAI API Key
  • Python 3.9

Install

pip install -U pip
pip install -r requirements.txt

Run

Streamlit

streamlit run client.py

Global Server

python global_server.py

Local Servers

python server.py --user_id 0
python server.py --user_id 1
python server.py --user_id 2