From 98bd79f5489dbf2b8f019c2a22bebfc00e543b94 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=81=8E=E4=B8=96=E7=A7=8B=E9=A2=A8?= <1040926235@qq.com> Date: Fri, 14 Mar 2025 16:45:20 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20update=20Knowledge=20Api=20doc:=20?= =?UTF-8?q?=E3=80=90Update=20a=20Chunk=20in=20a=20Document=E3=80=91=20(#15?= =?UTF-8?q?823)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- web/app/(commonLayout)/datasets/template/template.en.mdx | 4 ++-- web/app/(commonLayout)/datasets/template/template.zh.mdx | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/web/app/(commonLayout)/datasets/template/template.en.mdx b/web/app/(commonLayout)/datasets/template/template.en.mdx index ac57e3aef2..c276f55a23 100644 --- a/web/app/(commonLayout)/datasets/template/template.en.mdx +++ b/web/app/(commonLayout)/datasets/template/template.en.mdx @@ -1313,7 +1313,7 @@ import { Row, Col, Properties, Property, Heading, SubProperty, PropertyInstructi ```json {{ title: 'Response' }} { - "data": [{ + "data": { "id": "", "position": 1, "document_id": "", @@ -1337,7 +1337,7 @@ import { Row, Col, Properties, Property, Heading, SubProperty, PropertyInstructi "completed_at": 1695312007, "error": null, "stopped_at": null - }], + }, "doc_form": "text_model" } ``` diff --git a/web/app/(commonLayout)/datasets/template/template.zh.mdx b/web/app/(commonLayout)/datasets/template/template.zh.mdx index 0e5857c446..db72ef9a08 100644 --- a/web/app/(commonLayout)/datasets/template/template.zh.mdx +++ b/web/app/(commonLayout)/datasets/template/template.zh.mdx @@ -1319,7 +1319,7 @@ import { Row, Col, Properties, Property, Heading, SubProperty, PropertyInstructi ```json {{ title: 'Response' }} { - "data": [{ + "data": { "id": "", "position": 1, "document_id": "", @@ -1343,7 +1343,7 @@ import { Row, Col, Properties, Property, Heading, SubProperty, PropertyInstructi "completed_at": 1695312007, "error": null, "stopped_at": null - }], + }, "doc_form": "text_model" } ```