From 78033edabba28a633a68c31adac6626e938ef78f Mon Sep 17 00:00:00 2001 From: yangdx Date: Wed, 9 Jul 2025 04:37:04 +0800 Subject: [PATCH] Update env.example --- env.example | 20 +++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) diff --git a/env.example b/env.example index d8a4dfd6..4515fe34 100644 --- a/env.example +++ b/env.example @@ -42,15 +42,24 @@ OLLAMA_EMULATING_MODEL_TAG=latest ### Logfile location (defaults to current working directory) # LOG_DIR=/path/to/log/directory -### Settings for RAG query +### RAG Configuration +### Chunk size for document splitting, 500~1500 is recommended +# CHUNK_SIZE=1200 +# CHUNK_OVERLAP_SIZE=100 +# MAX_TOKEN_SUMMARY=500 + +### RAG Query Configuration # HISTORY_TURNS=3 +# MAX_TOKEN_TEXT_CHUNK=6000 +# MAX_TOKEN_RELATION_DESC=4000 +# MAX_TOKEN_ENTITY_DESC=4000 # COSINE_THRESHOLD=0.2 +### Number of entities or relations to retrieve from KG # TOP_K=60 ### Number of text chunks to retrieve initially from vector search # CHUNK_TOP_K=5 ### Rerank Configuration -### Enable rerank functionality to improve retrieval quality # ENABLE_RERANK=False ### Number of text chunks to keep after reranking (should be <= CHUNK_TOP_K) # CHUNK_RERANK_TOP_K=5 @@ -59,10 +68,6 @@ OLLAMA_EMULATING_MODEL_TAG=latest # RERANK_BINDING_HOST=https://api.your-rerank-provider.com/v1/rerank # RERANK_BINDING_API_KEY=your_rerank_api_key_here -# MAX_TOKEN_TEXT_CHUNK=6000 -# MAX_TOKEN_RELATION_DESC=4000 -# MAX_TOKEN_ENTITY_DESC=4000 - ### Entity and relation summarization configuration ### Language: English, Chinese, French, German ... SUMMARY_LANGUAGE=English @@ -75,9 +80,6 @@ SUMMARY_LANGUAGE=English ### Number of parallel processing documents(Less than MAX_ASYNC/2 is recommended) # MAX_PARALLEL_INSERT=2 -### Chunk size for document splitting, 500~1500 is recommended -# CHUNK_SIZE=1200 -# CHUNK_OVERLAP_SIZE=100 ### LLM Configuration ENABLE_LLM_CACHE=true