LLM: RAG-GPT

From OnnoWiki
Revision as of 11:20, 16 July 2024 by Onnowpurbo (talk | contribs)
Jump to navigation Jump to search

Sumber: https://github.com/gpt-open/rag-gpt?tab=readme-ov-file#using-local-llms

Buat API di LLamaCloud, login mengggunakan email

https://cloud.llamaindex.ai/api-key

Clone RAG-GPT

git clone https://github.com/open-kf/rag-gpt.git && cd rag-gpt
cp env_of_ollama .env
LLM_NAME="Ollama"
OLLAMA_MODEL_NAME="xxxx"
OLLAMA_BASE_URL="http://127.0.0.1:11434"
MIN_RELEVANCE_SCORE=0.4
BOT_TOPIC="xxxx"
URL_PREFIX="http://127.0.0.1:7000/"
USE_PREPROCESS_QUERY=1
USE_RERANKING=1
USE_DEBUG=0
USE_LLAMA_PARSE=0
LLAMA_CLOUD_API_KEY="xxxx"






Referensi