AddDataAgentMemory - 添加 DataAgent 记忆

更新时间:
复制 MD 格式

AddDataAgentMemory 添加 DataAgent 记忆

调试

您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。

调试

授权信息

当前API暂无授权信息透出。

请求参数

名称

类型

必填

描述

示例值

DMSUnit

string

当前 DMS 单元

cn-hangzhou

SessionUuid

string

会话 ID

  • 注意:该参数已废弃

fc5ice**********ac6e

Content

string

记忆内容

Diamond pricing analysis requires examining the skewness and outliers of the distribution of each feature.

Label

string

记忆标签

  • fact_specifications - 事实定义

  • task_constraints - 任务约束

  • execution_config - 执行配置

fact_specifications

MemFrom

string

记忆来源

  • 会话生成:session

  • 用户编辑:user

user

FromId

string

来源 ID

  • 当 MemFrom 为 session 时:FromId 表示会话 ID

  • 当 MemFrom 为 user 时,FromId 为用户子账号 ID

2037**********23

返回参数

名称

类型

描述

示例值

object

Schema of Response

RequestId

string

Id of the request

67E910F2-4B62-5B0C-ACA3-7547695C****

Data

object

返回结构体。

JobId

string

任务 ID。

dlc1********63eqm

Success

boolean

任务下发请求是否成功,返回值如下:

  • True:请求成功。

  • False:请求失败。

true

Success

boolean

请求是否成功,返回值如下:

  • true:请求成功。

  • false:请求失败。

true

ErrorCode

string

错误码。

InvalidTid

ErrorMessage

string

调用失败时,返回的错误信息。

Specified parameter Tid is not valid.

示例

正常返回示例

JSON格式

{
  "RequestId": "67E910F2-4B62-5B0C-ACA3-7547695C****",
  "Data": {
    "JobId": "dlc1********63eqm",
    "Success": true
  },
  "Success": true,
  "ErrorCode": "InvalidTid",
  "ErrorMessage": "Specified parameter Tid is not valid."
}

错误码

访问错误中心查看更多错误码。

变更历史

更多信息,参考变更详情