mirror of
https://github.com/HKUDS/LightRAG.git
synced 2025-11-19 11:33:48 +00:00
Add default Ollama embedding context length
- Set default context length to 8192 - Overide the default context lenght for LLM in binding_options.py
This commit is contained in:
parent
c2eefec707
commit
f5ac6a9f4b
@ -180,7 +180,7 @@ EMBEDDING_BINDING_HOST=http://localhost:11434
|
||||
# EMBEDDING_BINDING_API_KEY=your_api_key
|
||||
|
||||
### Optional for Ollama embedding
|
||||
# OLLAMA_EMBEDDING_NUM_CTX=8192
|
||||
OLLAMA_EMBEDDING_NUM_CTX=8192
|
||||
### use the following command to see all support options for Ollama embedding
|
||||
### lightrag-server --embedding-binding ollama --help
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user