LLM: RAG-GPT: Difference between revisions
From OnnoCenterWiki
Jump to navigationJump to search
No edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
Sumber: https://github.com/gpt-open/rag-gpt?tab=readme-ov-file#using-local-llms | 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 | git clone https://github.com/open-kf/rag-gpt.git && cd rag-gpt | ||
Revision as of 04:20, 16 July 2024
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"