Datasets
Manage datasets, including creating, retrieving, listing, updating, and deleting datasets. These datasets can be used for Retrieval-Augmented Generation (RAG).
查询参数
tenantUnitIdstring可选Example:
{{tenantUnitId}}tenantIdstring必填Example:
{{tenantId}}头参数
X-Api-Keystring可选Example:
the API Key
{{apiKey}}请求体
idstring可选
tenantUnitIdstring可选
namestring必填
descriptionstring · 可为 null可选
typestring可选
knowledge or qa
tagsstring[]可选
响应
200成功
application/json
post
/admin/api/v1/datasets200成功
查询参数
tenantIdstring可选Example:
ff9bd0ba-8de5-46e1-9303-1bd2081cfc74tenantUnitIdstring可选Example:
f96c6fc1-af3e-45d0-bec8-1e5525da8905limitinteger可选Example:
If no parameters are provided, all datasets will be returned.
5typestring可选
头参数
X-Api-Keystring可选Example:
the API Key
{{apiKey}}响应
200成功
application/json
get
/admin/api/v1/datasets200成功
路径参数
datasetIdstring必填Example:
0361d480-ac91-430e-94d4-8e3a9762675f查询参数
deleteDocumentstring可选Example:
truetenantIdstring可选Example:
fcbb17f3-646f-41d3-a097-fdb801f73142头参数
X-Api-Keystring可选Example:
the API Key
{{apiKey}}响应
204成功
application/json
delete
/admin/api/v1/datasets/{datasetId}204成功
最后更新于
这有帮助吗?