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...")
 
Line 11: Line 11:
 
  sudo apt install python3-pip
 
  sudo apt install python3-pip
 
  pip install -r requirements.txt
 
  pip install -r requirements.txt
 +
 +
GAGAL:
 +
 +
error: externally-managed-environment
 +
 +
× This environment is externally managed
 +
╰─> To install Python packages system-wide, try apt install
 +
    python3-xyz, where xyz is the package you are trying to
 +
    install.
 +
  
  

Revision as of 11:48, 15 July 2024

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 python3-pip
pip install -r requirements.txt

GAGAL:

error: externally-managed-environment

× This environment is externally managed
╰─> To install Python packages system-wide, try apt install
    python3-xyz, where xyz is the package you are trying to
    install.


Jalankan apps

streamlit run streamlit_app.py



Referensi