{
  "$schema": "https://blockprotocol.org/types/modules/graph/0.3/schema/entity-type",
  "$id": "https://blockprotocol.org/@hash/types/entity-type/ai-chat-block/v/1",
  "kind": "entityType",
  "title": "AI Chat Block",
  "type": "object",
  "allOf": [],
  "description": "The block entity of the “AI Chat” block.\n\nSee: https://blockprotocol.org/@hash/blocks/ai-chat",
  "examples": [],
  "links": {
    "https://blockprotocol.org/@blockprotocol/types/entity-type/rooted-at/v/1": {
      "type": "array",
      "minItems": 0,
      "maxItems": 1,
      "ordered": false,
      "items": {
        "oneOf": [
          {
            "$ref": "https://blockprotocol.org/@hash/types/entity-type/ai-chat-request-message/v/1"
          }
        ]
      }
    },
    "https://blockprotocol.org/@blockprotocol/types/entity-type/has-message/v/1": {
      "type": "array",
      "minItems": 0,
      "ordered": false,
      "items": {
        "oneOf": [
          {
            "$ref": "https://blockprotocol.org/@hash/types/entity-type/ai-chat-response-message/v/1"
          },
          {
            "$ref": "https://blockprotocol.org/@hash/types/entity-type/ai-chat-request-message/v/1"
          }
        ]
      }
    }
  },
  "properties": {
    "https://blockprotocol.org/@blockprotocol/types/property-type/openai-chat-model-name/": {
      "$ref": "https://blockprotocol.org/@blockprotocol/types/property-type/openai-chat-model-name/v/1"
    },
    "https://blockprotocol.org/@hash/types/property-type/ai-chat-block-preset-system-prompt-id/": {
      "$ref": "https://blockprotocol.org/@hash/types/property-type/ai-chat-block-preset-system-prompt-id/v/1"
    }
  },
  "required": []
}