# ai.syui.gpt.core

> Published by [syui.syui.ai](https://lexicon.garden/identity/did:plc:vzsvtbtbnwn22xjqhcu3vd6y)

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:plc:vzsvtbtbnwn22xjqhcu3vd6y/ai.syui.gpt.core)
- [Documentation](https://lexicon.garden/lexicon/did:plc:vzsvtbtbnwn22xjqhcu3vd6y/ai.syui.gpt.core/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:vzsvtbtbnwn22xjqhcu3vd6y/ai.syui.gpt.core/examples)

## Definitions

### `ai.syui.gpt.core`

**Type**: `record`

AI identity and personality configuration. Typically one record per AI with rkey 'self'.

**Key**: `any`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `did` | `string` (did) | Yes | DID of the AI agent. |
| `handle` | `string` | Yes | Handle of the AI agent. |
| `content` | `union` | Yes | Core personality and instructions. Supports markdown and other formats via $type. |
| `createdAt` | `string` (datetime) | Yes | Timestamp when this core record was created. |
| `updatedAt` | `string` (datetime) | No | Timestamp of the last update. |

### `ai.syui.gpt.core#markdown`

**Type**: `object`

Markdown content format.

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `text` | `string` | Yes | Markdown text content. |

## Raw Schema

```json
{
  "id": "ai.syui.gpt.core",
  "defs": {
    "main": {
      "key": "any",
      "type": "record",
      "record": {
        "type": "object",
        "required": [
          "did",
          "handle",
          "content",
          "createdAt"
        ],
        "properties": {
          "did": {
            "type": "string",
            "format": "did",
            "description": "DID of the AI agent."
          },
          "handle": {
            "type": "string",
            "description": "Handle of the AI agent."
          },
          "content": {
            "refs": [
              "#markdown"
            ],
            "type": "union",
            "closed": false,
            "description": "Core personality and instructions. Supports markdown and other formats via $type."
          },
          "createdAt": {
            "type": "string",
            "format": "datetime",
            "description": "Timestamp when this core record was created."
          },
          "updatedAt": {
            "type": "string",
            "format": "datetime",
            "description": "Timestamp of the last update."
          }
        }
      },
      "description": "AI identity and personality configuration. Typically one record per AI with rkey 'self'."
    },
    "markdown": {
      "type": "object",
      "required": [
        "text"
      ],
      "properties": {
        "text": {
          "type": "string",
          "maxLength": 1000000,
          "description": "Markdown text content.",
          "maxGraphemes": 100000
        }
      },
      "description": "Markdown content format."
    }
  },
  "$type": "com.atproto.lexicon.schema",
  "lexicon": 1
}
```
