ACPex.Schema.Types.PromptCapabilities (ACPex v0.1.1)

Copy Markdown View Source

Prompt capabilities supported by the agent.

Describes which types of content the agent can handle in prompts.

Optional Fields (all default to false)

  • audio - Whether the agent supports audio content
  • embedded_context - Whether the agent supports embedded context
  • image - Whether the agent supports image content
  • meta - Additional metadata (map)

Example

%ACPex.Schema.Types.PromptCapabilities{
  image: true,
  audio: false,
  embedded_context: true
}

JSON Representation

{
  "image": true,
  "audio": false,
  "embeddedContext": true
}

Summary

Functions

Creates a changeset for validation.

Types

t()

@type t() :: %ACPex.Schema.Types.PromptCapabilities{
  audio: boolean(),
  embedded_context: boolean(),
  image: boolean(),
  meta: map() | nil
}

Functions

changeset(struct \\ %__MODULE__{}, params)

@spec changeset(t(), map()) :: Ecto.Changeset.t()

Creates a changeset for validation.

All fields are optional with defaults.