Update env.example
Browse files- env.example +11 -9
env.example
CHANGED
@@ -42,15 +42,24 @@ OLLAMA_EMULATING_MODEL_TAG=latest
|
|
42 |
### Logfile location (defaults to current working directory)
|
43 |
# LOG_DIR=/path/to/log/directory
|
44 |
|
45 |
-
###
|
|
|
|
|
|
|
|
|
|
|
|
|
46 |
# HISTORY_TURNS=3
|
|
|
|
|
|
|
47 |
# COSINE_THRESHOLD=0.2
|
|
|
48 |
# TOP_K=60
|
49 |
### Number of text chunks to retrieve initially from vector search
|
50 |
# CHUNK_TOP_K=5
|
51 |
|
52 |
### Rerank Configuration
|
53 |
-
### Enable rerank functionality to improve retrieval quality
|
54 |
# ENABLE_RERANK=False
|
55 |
### Number of text chunks to keep after reranking (should be <= CHUNK_TOP_K)
|
56 |
# CHUNK_RERANK_TOP_K=5
|
@@ -59,10 +68,6 @@ OLLAMA_EMULATING_MODEL_TAG=latest
|
|
59 |
# RERANK_BINDING_HOST=https://api.your-rerank-provider.com/v1/rerank
|
60 |
# RERANK_BINDING_API_KEY=your_rerank_api_key_here
|
61 |
|
62 |
-
# MAX_TOKEN_TEXT_CHUNK=6000
|
63 |
-
# MAX_TOKEN_RELATION_DESC=4000
|
64 |
-
# MAX_TOKEN_ENTITY_DESC=4000
|
65 |
-
|
66 |
### Entity and relation summarization configuration
|
67 |
### Language: English, Chinese, French, German ...
|
68 |
SUMMARY_LANGUAGE=English
|
@@ -75,9 +80,6 @@ SUMMARY_LANGUAGE=English
|
|
75 |
|
76 |
### Number of parallel processing documents(Less than MAX_ASYNC/2 is recommended)
|
77 |
# MAX_PARALLEL_INSERT=2
|
78 |
-
### Chunk size for document splitting, 500~1500 is recommended
|
79 |
-
# CHUNK_SIZE=1200
|
80 |
-
# CHUNK_OVERLAP_SIZE=100
|
81 |
|
82 |
### LLM Configuration
|
83 |
ENABLE_LLM_CACHE=true
|
|
|
42 |
### Logfile location (defaults to current working directory)
|
43 |
# LOG_DIR=/path/to/log/directory
|
44 |
|
45 |
+
### RAG Configuration
|
46 |
+
### Chunk size for document splitting, 500~1500 is recommended
|
47 |
+
# CHUNK_SIZE=1200
|
48 |
+
# CHUNK_OVERLAP_SIZE=100
|
49 |
+
# MAX_TOKEN_SUMMARY=500
|
50 |
+
|
51 |
+
### RAG Query Configuration
|
52 |
# HISTORY_TURNS=3
|
53 |
+
# MAX_TOKEN_TEXT_CHUNK=6000
|
54 |
+
# MAX_TOKEN_RELATION_DESC=4000
|
55 |
+
# MAX_TOKEN_ENTITY_DESC=4000
|
56 |
# COSINE_THRESHOLD=0.2
|
57 |
+
### Number of entities or relations to retrieve from KG
|
58 |
# TOP_K=60
|
59 |
### Number of text chunks to retrieve initially from vector search
|
60 |
# CHUNK_TOP_K=5
|
61 |
|
62 |
### Rerank Configuration
|
|
|
63 |
# ENABLE_RERANK=False
|
64 |
### Number of text chunks to keep after reranking (should be <= CHUNK_TOP_K)
|
65 |
# CHUNK_RERANK_TOP_K=5
|
|
|
68 |
# RERANK_BINDING_HOST=https://api.your-rerank-provider.com/v1/rerank
|
69 |
# RERANK_BINDING_API_KEY=your_rerank_api_key_here
|
70 |
|
|
|
|
|
|
|
|
|
71 |
### Entity and relation summarization configuration
|
72 |
### Language: English, Chinese, French, German ...
|
73 |
SUMMARY_LANGUAGE=English
|
|
|
80 |
|
81 |
### Number of parallel processing documents(Less than MAX_ASYNC/2 is recommended)
|
82 |
# MAX_PARALLEL_INSERT=2
|
|
|
|
|
|
|
83 |
|
84 |
### LLM Configuration
|
85 |
ENABLE_LLM_CACHE=true
|