ExBifrost.Model.OpenAiMessage (ex_bifrost v0.1.0)

Copy Markdown View Source

OpenAiMessage model.

Summary

Types

t()

@type t() :: %ExBifrost.Model.OpenAiMessage{
  annotations: [ExBifrost.Model.ChatMessageAnnotationsInner.t()] | nil,
  content: ExBifrost.Model.ChatMessageContent.t() | nil,
  name: String.t() | nil,
  reasoning: String.t() | nil,
  refusal: String.t() | nil,
  role: String.t(),
  tool_call_id: String.t() | nil,
  tool_calls:
    [
      ExBifrost.Model.CreateChatCompletion200ResponseChoicesInnerDeltaToolCallsInner.t()
    ]
    | nil
}

Functions

decode(value)