AISearchIndexResource interface
AI 搜索索引资源。
属性
| filter | 搜索资源的 filter 字符串。 请在此处了解详细信息。 |
| index_asset_id | 为搜索资源的资产 ID 编制索引。 |
| index_name | 附加到此代理的 IndexResource 中的索引的名称。 |
| project_connection_id | 附加到此代理的 IndexResource 中的索引连接 ID。 |
| query_type | 附加到此代理的 AIIndexResource 中的查询类型。 |
| top_k | 要从搜索中检索到的文档数,并将其呈现到模型。 |
属性详细信息
filter
index_asset_id
为搜索资源的资产 ID 编制索引。
index_asset_id?: string
属性值
string
index_name
附加到此代理的 IndexResource 中的索引的名称。
index_name?: string
属性值
string
project_connection_id
附加到此代理的 IndexResource 中的索引连接 ID。
project_connection_id?: string
属性值
string
query_type
top_k
要从搜索中检索到的文档数,并将其呈现到模型。
top_k?: number
属性值
number