# chat.gel.assistant.info

> Title and system prompt for a conversation.

- Kind: record
- Record key: literal:self
- Authority: assistant.gel.chat
- Lexicon: 1
- Published by [gel.chat](https://lexicon.garden/identity/did:plc:k2csuyvih44bjf2lex73x56v), the NSID's authority

## Links

- [Documentation](https://lexicon.garden/lexicon/did:plc:k2csuyvih44bjf2lex73x56v/chat.gel.assistant.info)
- [Schema JSON](https://lexicon.garden/lexicon/did:plc:k2csuyvih44bjf2lex73x56v/chat.gel.assistant.info/schema.json)
- [Analytics](https://lexicon.garden/lexicon/did:plc:k2csuyvih44bjf2lex73x56v/chat.gel.assistant.info/analytics)

## Record (`chat.gel.assistant.info`)

Type: record · key literal:self

### Properties

- `createdAt` (string · datetime, required)
- `sealed` (ref): When encrypted, holds title and the systemPrompt. Those fields are then left out of the record.
  - Reference: `chat.gel.assistant.defs#encryptedContent`
- `systemPrompt` (string)
  - Constraints: maxLength: 100000
- `title` (string): The chat title. This is the authoritative record, conversationRef holds a copy for the chat listing.
  - Constraints: maxLength: 3000, maxGraphemes: 300
- `titleSource` (string): How the title was created: by the user or auto-generated. Apps must not replace a title set by the user.
  - Constraints: knownValues: user | generated

## Schema

```json
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Title and system prompt for a conversation.",
      "key": "literal:self",
      "record": {
        "properties": {
          "createdAt": {
            "format": "datetime",
            "type": "string"
          },
          "sealed": {
            "description": "When encrypted, holds title and the systemPrompt. Those fields are then left out of the record.",
            "ref": "chat.gel.assistant.defs#encryptedContent",
            "type": "ref"
          },
          "systemPrompt": {
            "maxLength": 100000,
            "type": "string"
          },
          "title": {
            "description": "The chat title. This is the authoritative record, conversationRef holds a copy for the chat listing.",
            "maxGraphemes": 300,
            "maxLength": 3000,
            "type": "string"
          },
          "titleSource": {
            "description": "How the title was created: by the user or auto-generated. Apps must not replace a title set by the user.",
            "knownValues": [
              "user",
              "generated"
            ],
            "type": "string"
          }
        },
        "required": [
          "createdAt"
        ],
        "type": "object"
      },
      "type": "record"
    }
  },
  "id": "chat.gel.assistant.info",
  "lexicon": 1
}
```
