Difference between revisions of "LLM: ollama PDF RAG"

From OnnoWiki
Jump to navigation Jump to search
(Created page with "Sumber: https://github.com/tonykipkemboi/ollama_pdf_rag Download source git clone https://github.com/tonykipkemboi/ollama_pdf_rag.git Install pip sudo apt install pyth...")
 
 
(6 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
Sumber: https://github.com/tonykipkemboi/ollama_pdf_rag
 
Sumber: https://github.com/tonykipkemboi/ollama_pdf_rag
 +
 +
Install ollama
 +
 +
ollama pull llama3
 +
ollama pull nomic-embed-text
  
 
Download source
 
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
 
  git clone https://github.com/tonykipkemboi/ollama_pdf_rag.git
  
Install pip
+
Install
  
 
+
  cd ollama_pdf_rag
  sudo apt install python3-pip
 
 
  pip install -r requirements.txt
 
  pip install -r requirements.txt
 
  
 
Jalankan apps
 
Jalankan apps
Line 17: Line 23:
 
  streamlit run streamlit_app.py
 
  streamlit run streamlit_app.py
  
 +
Browse
 +
 +
http://ipaddress:8501
  
  

Latest revision as of 06:48, 16 July 2024

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