Local
or Kaggle
(new)Huggingface
and Ollama
Gradio
.notebooks/kaggle.ipynb
to Kaggle<YOUR_NGROK_TOKEN>
with your tokens.git clone https://github.com/datvodinh/rag-chatbot.git
cd rag-chatbot
docker compose up --build
source ./scripts/install_extra.sh
Ollama
MacOS, Window: Download
Linux
curl -fsSL https://ollama.com/install.sh | sh
Ngrok
brew install ngrok/ngrok/ngrok
curl -s https://ngrok-agent.s3.amazonaws.com/ngrok.asc \
| sudo tee /etc/apt/trusted.gpg.d/ngrok.asc >/dev/null \
&& echo "deb https://ngrok-agent.s3.amazonaws.com buster main" \
| sudo tee /etc/apt/sources.list.d/ngrok.list \
&& sudo apt update \
&& sudo apt install ngrok
rag_chatbot
Packagesource ./scripts/install.sh
source ./scripts/run.sh
or
python -m rag_chatbot --host localhost
source ./scripts/run.sh --ngrok
http://0.0.0.0:7860/
or Ngrok link after setup completed