ai.syui.gpt.memory

syui.ai

Documentation

AI memory snapshot. Each record is a versioned snapshot of accumulated knowledge.

main record

AI memory snapshot. Each record is a versioned snapshot of accumulated knowledge.

Record Key tid Timestamp-based ID

Properties

content union Required

Memory content. Supports markdown and other formats via $type.

Known types:
createdAt string datetime Required

Timestamp when this memory snapshot was created.

did string did Required

DID of the AI agent this memory belongs to.

version integer Optional

Monotonically increasing version number of this memory snapshot.

View raw schema
{
  "key": "tid",
  "type": "record",
  "record": {
    "type": "object",
    "required": [
      "did",
      "content",
      "createdAt"
    ],
    "properties": {
      "did": {
        "type": "string",
        "format": "did",
        "description": "DID of the AI agent this memory belongs to."
      },
      "content": {
        "refs": [
          "#markdown"
        ],
        "type": "union",
        "closed": false,
        "description": "Memory content. Supports markdown and other formats via $type."
      },
      "version": {
        "type": "integer",
        "description": "Monotonically increasing version number of this memory snapshot."
      },
      "createdAt": {
        "type": "string",
        "format": "datetime",
        "description": "Timestamp when this memory snapshot was created."
      }
    }
  },
  "description": "AI memory snapshot. Each record is a versioned snapshot of accumulated knowledge."
}
markdown object

Markdown content format.

Properties

text string Required

Markdown text content.

maxLength: 1000000 bytesmaxGraphemes: 100000 graphemes
View raw schema
{
  "type": "object",
  "required": [
    "text"
  ],
  "properties": {
    "text": {
      "type": "string",
      "maxLength": 1000000,
      "description": "Markdown text content.",
      "maxGraphemes": 100000
    }
  },
  "description": "Markdown content format."
}

Lexicon Garden

@