ExBifrost.Model.BedrockInvokeRequest (ex_bifrost v0.1.0)

Copy Markdown View Source

Raw model invocation request. The body format depends on the model provider. For Anthropic models, use Anthropic format. For other models, use their native format.

Summary

Types

t()

@type t() :: %ExBifrost.Model.BedrockInvokeRequest{
  anthropic_version: String.t() | nil,
  max_tokens: integer() | nil,
  max_tokens_to_sample: integer() | nil,
  messages: [map()] | nil,
  prompt: String.t() | nil,
  stop: [String.t()] | nil,
  stop_sequences: [String.t()] | nil,
  system: ExBifrost.Model.ChatCompletionRequestStop.t() | nil,
  temperature: number() | nil,
  top_k: integer() | nil,
  top_p: number() | nil
}

Functions

decode(value)