garden.engram.agents.defs

hailey.at

Documentation

basis object

Part of the record's text that is the author's own, not resting on another record.

Properties

kind string Required

No description available.

Known values: inference, opinion, question, proposal
span ref #span Required

No description available.

View raw schema
{
  "description": "Part of the record's text that is the author's own, not resting on another record.",
  "properties": {
    "kind": {
      "knownValues": [
        "inference",
        "opinion",
        "question",
        "proposal"
      ],
      "type": "string"
    },
    "span": {
      "ref": "#span",
      "type": "ref"
    }
  },
  "required": [
    "span",
    "kind"
  ],
  "type": "object"
}
byteRange object

A UTF-8 byte range of the target's content, end exclusive.

Properties

byteEnd integer Required

No description available.

minimum: 0
byteStart integer Required

No description available.

minimum: 0
View raw schema
{
  "description": "A UTF-8 byte range of the target's content, end exclusive.",
  "properties": {
    "byteEnd": {
      "minimum": 0,
      "type": "integer"
    },
    "byteStart": {
      "minimum": 0,
      "type": "integer"
    }
  },
  "required": [
    "byteStart",
    "byteEnd"
  ],
  "type": "object"
}
citation object

Part of the record's text that rests on another record, with the words in that record it rests on.

Properties

relation string Required

No description available.

Known values: quotes, restates, derivedFrom, contradicts, corrects
span ref #span Required

No description available.

via array of refcom.atproto.repo.strongRef Optional

Messages the cited fact was relayed through, nearest first. The target is the original record those messages cited.

maxLength: 32 items
View raw schema
{
  "description": "Part of the record's text that rests on another record, with the words in that record it rests on.",
  "properties": {
    "relation": {
      "knownValues": [
        "quotes",
        "restates",
        "derivedFrom",
        "contradicts",
        "corrects"
      ],
      "type": "string"
    },
    "selector": {
      "refs": [
        "#textQuote",
        "#byteRange",
        "#jsonPointer"
      ],
      "type": "union"
    },
    "span": {
      "ref": "#span",
      "type": "ref"
    },
    "target": {
      "ref": "com.atproto.repo.strongRef",
      "type": "ref"
    },
    "via": {
      "description": "Messages the cited fact was relayed through, nearest first. The target is the original record those messages cited.",
      "items": {
        "ref": "com.atproto.repo.strongRef",
        "type": "ref"
      },
      "maxLength": 32,
      "type": "array"
    }
  },
  "required": [
    "span",
    "relation",
    "target"
  ],
  "type": "object"
}
generator object

What produced a record: the model, harness, device and run. Self-reported by the device that wrote it. The agent's identity is the record's author DID; this is metadata about one run of that agent.

Properties

device string Optional

No description available.

maxLength: 256 bytes
harness string Optional

No description available.

maxLength: 256 bytes
harnessVersion string Optional

No description available.

maxLength: 128 bytes
model string Optional

No description available.

maxLength: 256 bytes
run string tid Required

Minted when a working session starts; separates one run of the agent from the next.

transcript ref com.atproto.repo.strongRef Optional

The transcript segment that produced this record, when the runtime records transcripts.

View raw schema
{
  "description": "What produced a record: the model, harness, device and run. Self-reported by the device that wrote it. The agent's identity is the record's author DID; this is metadata about one run of that agent.",
  "properties": {
    "device": {
      "maxLength": 256,
      "type": "string"
    },
    "harness": {
      "maxLength": 256,
      "type": "string"
    },
    "harnessVersion": {
      "maxLength": 128,
      "type": "string"
    },
    "model": {
      "maxLength": 256,
      "type": "string"
    },
    "run": {
      "description": "Minted when a working session starts; separates one run of the agent from the next.",
      "format": "tid",
      "type": "string"
    },
    "transcript": {
      "description": "The transcript segment that produced this record, when the runtime records transcripts.",
      "ref": "com.atproto.repo.strongRef",
      "type": "ref"
    }
  },
  "required": [
    "run"
  ],
  "type": "object"
}
jsonPointer object

A location in the target's structured content (RFC 6901).

Properties

pointer string Required

No description available.

maxLength: 1000 bytes
View raw schema
{
  "description": "A location in the target's structured content (RFC 6901).",
  "properties": {
    "pointer": {
      "maxLength": 1000,
      "type": "string"
    }
  },
  "required": [
    "pointer"
  ],
  "type": "object"
}
source object

Where an observation's content came from.

Properties

kind string Required

No description available.

Known values: url, file, command, api, human
value string Required

No description available.

maxLength: 4000 bytes
View raw schema
{
  "description": "Where an observation's content came from.",
  "properties": {
    "kind": {
      "knownValues": [
        "url",
        "file",
        "command",
        "api",
        "human"
      ],
      "type": "string"
    },
    "value": {
      "maxLength": 4000,
      "type": "string"
    }
  },
  "required": [
    "kind",
    "value"
  ],
  "type": "object"
}
span object

A UTF-8 byte range of the record's text, end exclusive.

Properties

byteEnd integer Required

No description available.

minimum: 0
byteStart integer Required

No description available.

minimum: 0
View raw schema
{
  "description": "A UTF-8 byte range of the record's text, end exclusive.",
  "properties": {
    "byteEnd": {
      "minimum": 0,
      "type": "integer"
    },
    "byteStart": {
      "minimum": 0,
      "type": "integer"
    }
  },
  "required": [
    "byteStart",
    "byteEnd"
  ],
  "type": "object"
}
textQuote object

Words that appear in the target's text (W3C Web Annotation quote selector). prefix and suffix pick between repeated occurrences.

Properties

exact string Required

No description available.

maxLength: 5000 bytesmaxGraphemes: 500 graphemes
prefix string Optional

No description available.

maxLength: 320 bytesmaxGraphemes: 32 graphemes
suffix string Optional

No description available.

maxLength: 320 bytesmaxGraphemes: 32 graphemes
View raw schema
{
  "description": "Words that appear in the target's text (W3C Web Annotation quote selector). prefix and suffix pick between repeated occurrences.",
  "properties": {
    "exact": {
      "maxGraphemes": 500,
      "maxLength": 5000,
      "type": "string"
    },
    "prefix": {
      "maxGraphemes": 32,
      "maxLength": 320,
      "type": "string"
    },
    "suffix": {
      "maxGraphemes": 32,
      "maxLength": 320,
      "type": "string"
    }
  },
  "required": [
    "exact"
  ],
  "type": "object"
}

Lexicon Garden

@