mirror of
https://git.mirrors.martin98.com/https://github.com/langgenius/dify.git
synced 2025-08-14 00:25:57 +08:00
feat: add optional search parameters to dataset query templates i (#17857)
This commit is contained in:
parent
bf26f1129e
commit
3ece713a05
@ -386,11 +386,20 @@ import { Row, Col, Properties, Property, Heading, SubProperty, PropertyInstructi
|
||||
<Col>
|
||||
### Query
|
||||
<Properties>
|
||||
<Property name='keyword' type='string' key='keyword'>
|
||||
Search keyword, optional
|
||||
</Property>
|
||||
<Property name='tag_ids' type='array[string]' key='tag_ids'>
|
||||
Tag ID list, optional
|
||||
</Property>
|
||||
<Property name='page' type='string' key='page'>
|
||||
Page number
|
||||
Page number, optional, default 1
|
||||
</Property>
|
||||
<Property name='limit' type='string' key='limit'>
|
||||
Number of items returned, default 20, range 1-100
|
||||
Number of items returned, optional, default 20, range 1-100
|
||||
</Property>
|
||||
<Property name='include_all' type='boolean' key='include_all'>
|
||||
Whether to include all datasets (only effective for owners), optional, defaults to false
|
||||
</Property>
|
||||
</Properties>
|
||||
</Col>
|
||||
|
@ -386,11 +386,20 @@ import { Row, Col, Properties, Property, Heading, SubProperty, PropertyInstructi
|
||||
<Col>
|
||||
### クエリ
|
||||
<Properties>
|
||||
<Property name='keyword' type='string' key='keyword'>
|
||||
検索キーワード、オプション
|
||||
</Property>
|
||||
<Property name='tag_ids' type='array[string]' key='tag_ids'>
|
||||
タグIDリスト、オプション
|
||||
</Property>
|
||||
<Property name='page' type='string' key='page'>
|
||||
ページ番号
|
||||
ページ番号、オプション、デフォルト1
|
||||
</Property>
|
||||
<Property name='limit' type='string' key='limit'>
|
||||
返されるアイテム数、デフォルトは 20、範囲は 1-100
|
||||
返されるアイテム数、オプション、デフォルト20、範囲1-100
|
||||
</Property>
|
||||
<Property name='include_all' type='boolean' key='include_all'>
|
||||
すべてのデータセットを含めるかどうか(所有者のみ有効)、オプション、デフォルトはfalse
|
||||
</Property>
|
||||
</Properties>
|
||||
</Col>
|
||||
|
@ -387,11 +387,20 @@ import { Row, Col, Properties, Property, Heading, SubProperty, PropertyInstructi
|
||||
<Col>
|
||||
### Query
|
||||
<Properties>
|
||||
<Property name='page' type='string' key='page'>
|
||||
页码
|
||||
<Property name='keyword' type='string' key='keyword'>
|
||||
搜索关键词,可选
|
||||
</Property>
|
||||
<Property name='tag_ids' type='array[string]' key='tag_ids'>
|
||||
标签 ID 列表,可选
|
||||
</Property>
|
||||
<Property name='page' type='integer' key='page'>
|
||||
页码,可选,默认为 1
|
||||
</Property>
|
||||
<Property name='limit' type='string' key='limit'>
|
||||
返回条数,默认 20,范围 1-100
|
||||
返回条数,可选,默认 20,范围 1-100
|
||||
</Property>
|
||||
<Property name='include_all' type='boolean' key='include_all'>
|
||||
是否包含所有数据集(仅对所有者生效),可选,默认为 false
|
||||
</Property>
|
||||
</Properties>
|
||||
</Col>
|
||||
|
Loading…
x
Reference in New Issue
Block a user