ExBifrost.Model.BedrockConverseStream200Response (ex_bifrost v0.1.0)

Copy Markdown View Source

Flat structure for streaming events matching actual Bedrock API response

Summary

Types

t()

@type t() :: %ExBifrost.Model.BedrockConverseStream200Response{
  additionalModelResponseFields: map() | nil,
  contentBlockIndex: integer() | nil,
  delta: ExBifrost.Model.BedrockConverseStream200ResponseDelta.t() | nil,
  invokeModelRawChunk: binary() | nil,
  metrics: ExBifrost.Model.BedrockConverseStream200ResponseMetrics.t() | nil,
  role: String.t() | nil,
  start: ExBifrost.Model.BedrockConverseStream200ResponseStart.t() | nil,
  stopReason: String.t() | nil,
  trace: map() | nil,
  usage: ExBifrost.Model.BedrockConverseStream200ResponseUsage.t() | nil
}

Functions

decode(value)