Update env.example

This commit is contained in:
yangdx 2025-07-09 04:37:04 +08:00
parent e9c3503f77
commit 78033edabb

View file

@ -42,15 +42,24 @@ OLLAMA_EMULATING_MODEL_TAG=latest
### Logfile location (defaults to current working directory) ### Logfile location (defaults to current working directory)
# LOG_DIR=/path/to/log/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 # HISTORY_TURNS=3
# MAX_TOKEN_TEXT_CHUNK=6000
# MAX_TOKEN_RELATION_DESC=4000
# MAX_TOKEN_ENTITY_DESC=4000
# COSINE_THRESHOLD=0.2 # COSINE_THRESHOLD=0.2
### Number of entities or relations to retrieve from KG
# TOP_K=60 # TOP_K=60
### Number of text chunks to retrieve initially from vector search ### Number of text chunks to retrieve initially from vector search
# CHUNK_TOP_K=5 # CHUNK_TOP_K=5
### Rerank Configuration ### Rerank Configuration
### Enable rerank functionality to improve retrieval quality
# ENABLE_RERANK=False # ENABLE_RERANK=False
### Number of text chunks to keep after reranking (should be <= CHUNK_TOP_K) ### Number of text chunks to keep after reranking (should be <= CHUNK_TOP_K)
# CHUNK_RERANK_TOP_K=5 # 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_HOST=https://api.your-rerank-provider.com/v1/rerank
# RERANK_BINDING_API_KEY=your_rerank_api_key_here # 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 ### Entity and relation summarization configuration
### Language: English, Chinese, French, German ... ### Language: English, Chinese, French, German ...
SUMMARY_LANGUAGE=English SUMMARY_LANGUAGE=English
@ -75,9 +80,6 @@ SUMMARY_LANGUAGE=English
### Number of parallel processing documents(Less than MAX_ASYNC/2 is recommended) ### Number of parallel processing documents(Less than MAX_ASYNC/2 is recommended)
# MAX_PARALLEL_INSERT=2 # MAX_PARALLEL_INSERT=2
### Chunk size for document splitting, 500~1500 is recommended
# CHUNK_SIZE=1200
# CHUNK_OVERLAP_SIZE=100
### LLM Configuration ### LLM Configuration
ENABLE_LLM_CACHE=true ENABLE_LLM_CACHE=true