跳转到主要内容
PATCH
Embed Agent Knowledge
你可以通过智能体训练接口向指定智能体添加训练文件(支持批量上传)进行智能体训练。 响应数据和创建智能体一样,略。

cURL 请求示例

Postman 请求响应示例

训练智能体

授权

Authorization
string
header
必填

token

路径参数

uuid
string<uuid>
必填

uuid

请求体

multipart/form-data
embed_files
file[]
必填

local training files

示例:

响应

successful response

message
string
必填

response message

示例:

"File uploaded successfully, processing in progress."

data
object
必填