LLM: ollama PDF RAG

From OnnoWiki
Revision as of 06:48, 16 July 2024 by Onnowpurbo (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Sumber: https://github.com/tonykipkemboi/ollama_pdf_rag

Install ollama

ollama pull llama3
ollama pull nomic-embed-text

Download source

sudo apt install python3-virtualenv python3-pip libgl1
virtualenv --python=python3 venv
source venv/bin/activate
git clone https://github.com/tonykipkemboi/ollama_pdf_rag.git

Install

cd ollama_pdf_rag
pip install -r requirements.txt

Jalankan apps

streamlit run streamlit_app.py

Browse

http://ipaddress:8501


Referensi