ArchAstro.SDK.Types.AIChatStreamToolCallDelta (archastro v0.3.3)

Copy Markdown

Incremental tool-call data emitted as the model assembles a tool invocation (SSE tool_call_delta event).

Summary

Types

t()

@type t() :: %ArchAstro.SDK.Types.AIChatStreamToolCallDelta{
  delta: String.t() | ArchAstro.SDK.Unset.t(),
  id: String.t() | ArchAstro.SDK.Unset.t(),
  name: String.t() | ArchAstro.SDK.Unset.t()
}

Functions

from_map(data)

@spec from_map(ArchAstro.SDK.JSON.object()) :: t()

matches?(value)

@spec matches?(ArchAstro.SDK.JSON.t()) :: boolean()

to_map(value)

@spec to_map(t()) :: ArchAstro.SDK.JSON.object()