LLM: RAG Thomas Jay: Difference between revisions

From OnnoCenterWiki
Jump to navigationJump to search
No edit summary
No edit summary
Line 22: Line 22:
Run
Run


  streamlit run streamlit_app.py
  python3 app.py


==Referensi===
===Referensi===


* https://github.com/ThomasJay/RAG
* https://github.com/ThomasJay/RAG

Revision as of 02:11, 16 July 2024

Sumber: https://github.com/ThomasJay/RAG

Persiapkan ollama

ollama pull llama3


Persiapkan Virtualenv

sudo apt install python3-virtualenv python3-pip libgl1
virtualenv --python=python3 venv
source venv/bin/activate

Clone Source

git clone https://github.com/ThomasJay/RAG.git
cd RAG/
mkdir db
pip install -r requirements.txt


Run

python3 app.py

Referensi