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
1 changed files with 1 additions and 1 deletions
|
|
@ -180,7 +180,7 @@ EMBEDDING_BINDING_HOST=http://localhost:11434
|
||||||
# EMBEDDING_BINDING_API_KEY=your_api_key
|
# EMBEDDING_BINDING_API_KEY=your_api_key
|
||||||
|
|
||||||
### Optional for Ollama embedding
|
### 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
|
### use the following command to see all support options for Ollama embedding
|
||||||
### lightrag-server --embedding-binding ollama --help
|
### lightrag-server --embedding-binding ollama --help
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue