diff --git a/web/app/(commonLayout)/datasets/template/template.en.mdx b/web/app/(commonLayout)/datasets/template/template.en.mdx
index 81b7842da4ac2f..712b0a1010a377 100644
--- a/web/app/(commonLayout)/datasets/template/template.en.mdx
+++ b/web/app/(commonLayout)/datasets/template/template.en.mdx
@@ -1,5 +1,5 @@
import { CodeGroup } from '@/app/components/develop/code.tsx'
-import { Row, Col, Properties, Property, Heading, SubProperty, Paragraph } from '@/app/components/develop/md.tsx'
+import { Row, Col, Properties, Property, Heading, SubProperty, PropertyInstruction, Paragraph } from '@/app/components/develop/md.tsx'
# Knowledge API
@@ -80,6 +80,27 @@ import { Row, Col, Properties, Property, Heading, SubProperty, Paragraph } from
- max_tokens
The maximum length (tokens) must be validated to be shorter than the length of the parent chunk
- chunk_overlap
Define the overlap between adjacent chunks (optional)
+ search_method
(string) Search method
+ - hybrid_search
Hybrid search
+ - semantic_search
Semantic search
+ - full_text_search
Full-text search
+ - reranking_enable
(bool) Whether to enable reranking
+ - reranking_mode
(object) Rerank model configuration
+ - reranking_provider_name
(string) Rerank model provider
+ - reranking_model_name
(string) Rerank model name
+ - top_k
(int) Number of results to return
+ - score_threshold_enabled
(bool) Whether to enable score threshold
+ - score_threshold
(float) Score threshold
+
search_method
(string) Search method
+ - hybrid_search
Hybrid search
+ - semantic_search
Semantic search
+ - full_text_search
Full-text search
+ - reranking_enable
(bool) Whether to enable reranking
+ - reranking_mode
(object) Rerank model configuration
+ - reranking_provider_name
(string) Rerank model provider
+ - reranking_model_name
(string) Rerank model name
+ - top_k
(int) Number of results to return
+ - score_threshold_enabled
(bool) Whether to enable score threshold
+ - score_threshold
(float) Score threshold
+ reranking_mode
(object) Rerank model configuration, required if reranking is enabled
- reranking_provider_name
(string) Rerank model provider
- reranking_model_name
(string) Rerank model name
- - weights
(double) Semantic search weight setting in hybrid search mode
+ - weights
(float) Semantic search weight setting in hybrid search mode
- top_k
(integer) Number of results to return (optional)
- score_threshold_enabled
(bool) Whether to enable score threshold
- - score_threshold
(double) Score threshold
+ - score_threshold
(float) Score threshold
max_tokens
最大长度 (token) 需要校验小于父级的长度
- chunk_overlap
分段重叠指的是在对数据进行分段时,段与段之间存在一定的重叠部分(选填)
search_method
(string) 检索方法
+ - hybrid_search
混合检索
+ - semantic_search
语义检索
+ - full_text_search
全文检索
+ - reranking_enable
(bool) 是否开启rerank
+ - reranking_model
(object) Rerank 模型配置
+ - reranking_provider_name
(string) Rerank 模型的提供商
+ - reranking_model_name
(string) Rerank 模型的名称
+ - top_k
(int) 召回条数
+ - score_threshold_enabled
(bool)是否开启召回分数限制
+ - score_threshold
(float) 召回分数限制
+ search_method
(string) 检索方法
+ - hybrid_search
混合检索
+ - semantic_search
语义检索
+ - full_text_search
全文检索
+ - reranking_enable
(bool) 是否开启rerank
+ - reranking_model
(object) Rerank 模型配置
+ - reranking_provider_name
(string) Rerank 模型的提供商
+ - reranking_model_name
(string) Rerank 模型的名称
+ - top_k
(int) 召回条数
+ - score_threshold_enabled
(bool)是否开启召回分数限制
+ - score_threshold
(float) 召回分数限制
+ reranking_mode
(object) Rerank模型配置,非必填,如果启用了 reranking 则传值
- reranking_provider_name
(string) Rerank 模型提供商
- reranking_model_name
(string) Rerank 模型名称
- - weights
(double) 混合检索模式下语意检索的权重设置
+ - weights
(float) 混合检索模式下语意检索的权重设置
- top_k
(integer) 返回结果数量,非必填
- score_threshold_enabled
(bool) 是否开启 score 阈值
- - score_threshold
(double) Score 阈值
+ - score_threshold
(float) Score 阈值