跳到主要内容

MemoryExportDocument

contractVersionstring必填

导出契约版本。

exportedAtstring<date-time>必填

导出时间,ISO 8601。

memories object[]必填

导出的记忆列表。

  • Array [
  • memoryIdstring必填

    记忆 ID。

    revisioninteger必填

    修订号。

    rowVersioninteger必填

    行版本。

    scopeTypestring必填

    作用域类型。

    memoryTypestring必填

    记忆类型。

    categorystring必填

    分类。

    predicatestring必填

    谓词。

    cardinalitystring必填

    基数类型。

    contentstring可为空

    文本内容。

    structuredValue可为空

    结构化记忆值,可为任意 JSON 类型。

    polaritystring可为空

    极性。

    confidencenumber<double>可为空

    置信度。

    importancenumber<double>可为空

    重要性。

    originstring可为空

    来源。

    sensitivitystring可为空

    敏感级别。

    confirmationstring可为空

    确认状态。

    statusstring必填

    记忆状态。

    sourceApplicationId object可为空

    来源助手应用 ID。

    满足其中一种
    integer<int64>

    取值约束: >= -9007199254740991 and <= 9007199254740991

    validFromstring<date-time>可为空

    生效时间。ISO 8601 时间。

    validTostring<date-time>可为空

    失效时间。ISO 8601 时间。

    expiresAtstring<date-time>可为空

    过期时间。ISO 8601 时间。

    createdAtstring<date-time>必填

    创建时间。ISO 8601 时间。

    updatedAtstring<date-time>必填

    更新时间。ISO 8601 时间。

  • ]
  • MemoryExportDocument
    {
    "contractVersion": "string",
    "exportedAt": "2024-07-29T15:51:28.071Z",
    "memories": [
    {
    "memoryId": "string",
    "revision": 0,
    "rowVersion": 0,
    "scopeType": "string",
    "memoryType": "string",
    "category": "string",
    "predicate": "string",
    "cardinality": "string",
    "content": "string",
    "polarity": "string",
    "confidence": 0,
    "importance": 0,
    "origin": "string",
    "sensitivity": "string",
    "confirmation": "string",
    "status": "string",
    "sourceApplicationId": 0,
    "validFrom": "2024-07-29T15:51:28.071Z",
    "validTo": "2024-07-29T15:51:28.071Z",
    "expiresAt": "2024-07-29T15:51:28.071Z",
    "createdAt": "2024-07-29T15:51:28.071Z",
    "updatedAt": "2024-07-29T15:51:28.071Z"
    }
    ]
    }