Difference between revisions of "LLM: RAG Thomas Jay"
Jump to navigation
Jump to search
Onnowpurbo (talk | contribs) |
Onnowpurbo (talk | contribs) |
||
| (4 intermediate revisions by the same user not shown) | |||
| Line 14: | Line 14: | ||
Clone Source | Clone Source | ||
| − | |||
| − | |||
git clone https://github.com/ThomasJay/RAG.git | git clone https://github.com/ThomasJay/RAG.git | ||
| + | cd RAG/ | ||
| + | mkdir db | ||
pip install -r requirements.txt | pip install -r requirements.txt | ||
| Line 22: | Line 22: | ||
Run | Run | ||
| − | + | python3 app.py | |
| − | ==Referensi=== | + | |
| + | Akses | ||
| + | |||
| + | http://ipaddress:8080 | ||
| + | |||
| + | masih bingung cara pakainya .. | ||
| + | |||
| + | |||
| + | ===Referensi=== | ||
* https://github.com/ThomasJay/RAG | * https://github.com/ThomasJay/RAG | ||
Latest revision as of 09:31, 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
Akses
http://ipaddress:8080
masih bingung cara pakainya ..