Difference between revisions of "LLM: ollama PDF RAG"
Jump to navigation
Jump to search
Onnowpurbo (talk | contribs) |
Onnowpurbo (talk | contribs) |
||
(3 intermediate revisions by the same user not shown) | |||
Line 3: | Line 3: | ||
Download source | Download source | ||
+ | |||
+ | sudo apt install python3-virtualenv python3-pip | ||
+ | virtualenv --python=python3 venv | ||
+ | source venv/bin/activate | ||
git clone https://github.com/tonykipkemboi/ollama_pdf_rag.git | git clone https://github.com/tonykipkemboi/ollama_pdf_rag.git | ||
− | Install | + | Install |
− | |||
− | + | cd ollama_pdf_rag | |
pip install -r requirements.txt | pip install -r requirements.txt | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
Jalankan apps | Jalankan apps | ||
Line 27: | Line 19: | ||
streamlit run streamlit_app.py | streamlit run streamlit_app.py | ||
+ | Browse | ||
+ | |||
+ | http://ipaddress:8501 | ||
Revision as of 06:16, 16 July 2024
Sumber: https://github.com/tonykipkemboi/ollama_pdf_rag
Download source
sudo apt install python3-virtualenv python3-pip 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