From f5ac6a9f4b58dba54aa23d99d136318460bcd7e6 Mon Sep 17 00:00:00 2001 From: yangdx Date: Fri, 8 Aug 2025 13:51:25 +0800 Subject: [PATCH] Add default Ollama embedding context length - Set default context length to 8192 - Overide the default context lenght for LLM in binding_options.py --- env.example | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/env.example b/env.example index c2525547..537e5c81 100644 --- a/env.example +++ b/env.example @@ -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