From 74c90997caef99ab761ec57974da453f0a3a8678 Mon Sep 17 00:00:00 2001 From: Designerxsh <520128368@qq.com> Date: Thu, 5 Sep 2024 16:23:49 +0800 Subject: [PATCH 1/2] fix datasets api description error The segment parameter for updating document segmentation is an object, not a list of objects --- web/app/(commonLayout)/datasets/template/template.zh.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/app/(commonLayout)/datasets/template/template.zh.mdx b/web/app/(commonLayout)/datasets/template/template.zh.mdx index dc48f92f185495..93ce146857dd99 100644 --- a/web/app/(commonLayout)/datasets/template/template.zh.mdx +++ b/web/app/(commonLayout)/datasets/template/template.zh.mdx @@ -985,7 +985,7 @@ import { Row, Col, Properties, Property, Heading, SubProperty, Paragraph } from ### Request Body - + - content (text) 文本内容/问题内容,必填 - answer (text) 答案内容,非必填,如果知识库的模式为qa模式则传值 - keywords (list) 关键字,非必填 From c1e429e9f4d24d1eacb424b69eacccf819288928 Mon Sep 17 00:00:00 2001 From: Designerxsh <520128368@qq.com> Date: Thu, 5 Sep 2024 16:27:37 +0800 Subject: [PATCH 2/2] fix datasets en api description error The segment parameter for updating document segmentation is an object, not a list of objects --- web/app/(commonLayout)/datasets/template/template.en.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/app/(commonLayout)/datasets/template/template.en.mdx b/web/app/(commonLayout)/datasets/template/template.en.mdx index 33451b8a0bdb27..511f61c737ba9b 100644 --- a/web/app/(commonLayout)/datasets/template/template.en.mdx +++ b/web/app/(commonLayout)/datasets/template/template.en.mdx @@ -985,7 +985,7 @@ import { Row, Col, Properties, Property, Heading, SubProperty, Paragraph } from ### Request Body - + - content (text) text content/question content,required - answer (text) Answer content, not required, passed if the Knowledge is in qa mode - keywords (list) keyword, not required