network.sharedcomputer.chat.info

Title and system prompt for a conversation.

Details · record, key literal:self
Kindrecord
Record keyliteral:self
Authoritychat.sharedcomputer.network
Indexed
cid bafyreifpyv5wz4g6bsvefaitdowbepueetm2ahzxad4apwb7i64klvvlim

Checks

Valid
  • large-string defs.main.record.properties.systemPromptmaxLength is over 20 KB. Use a blob for content that large.
  • unlimited-string defs.main.record.properties.titleSourceNo maxLength, maxGraphemes or format limits this string.
JSONDownload
{
  "$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": "network.sharedcomputer.chat.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": "network.sharedcomputer.chat.info",
  "lexicon": 1
}