Fix/datasets api description error (#8025)

This commit is contained in:
Designerxsh 2024-09-05 16:45:44 +08:00 committed by GitHub
parent d489b8b3e0
commit dadca0f91a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View File

@ -985,7 +985,7 @@ import { Row, Col, Properties, Property, Heading, SubProperty, Paragraph } from
### Request Body
<Properties>
<Property name='segment' type='object list' key='segment'>
<Property name='segment' type='object' key='segment'>
- <code>content</code> (text) text content/question contentrequired
- <code>answer</code> (text) Answer content, not required, passed if the Knowledge is in qa mode
- <code>keywords</code> (list) keyword, not required

View File

@ -985,7 +985,7 @@ import { Row, Col, Properties, Property, Heading, SubProperty, Paragraph } from
### Request Body
<Properties>
<Property name='segment' type='object list' key='segment'>
<Property name='segment' type='object' key='segment'>
- <code>content</code> (text) 文本内容/问题内容,必填
- <code>answer</code> (text) 答案内容非必填如果知识库的模式为qa模式则传值
- <code>keywords</code> (list) 关键字,非必填