Dagger.LLMContentBlockKind (dagger v1.0.0-beta.15)

Copy Markdown View Source

The kind of content in a message block.

Summary

Functions

Inline audio.

An inline PDF document.

An inline image.

Plain text content.

Model thinking/reasoning content (e.g. Anthropic extended thinking).

A tool/function call from the model.

A tool/function result.

Types

t()

@type t() ::
  :TEXT | :THINKING | :TOOL_CALL | :TOOL_RESULT | :IMAGE | :AUDIO | :DOCUMENT

Functions

audio()

@spec audio() :: :AUDIO

Inline audio.

document()

@spec document() :: :DOCUMENT

An inline PDF document.

image()

@spec image() :: :IMAGE

An inline image.

text()

@spec text() :: :TEXT

Plain text content.

thinking()

@spec thinking() :: :THINKING

Model thinking/reasoning content (e.g. Anthropic extended thinking).

tool_call()

@spec tool_call() :: :TOOL_CALL

A tool/function call from the model.

tool_result()

@spec tool_result() :: :TOOL_RESULT

A tool/function result.