ExBifrost.Model.CohereChatRequest (ex_bifrost v0.1.0)

Copy Markdown View Source

CohereChatRequest model.

Summary

Types

t()

@type t() :: %ExBifrost.Model.CohereChatRequest{
  frequency_penalty: number() | nil,
  k: integer() | nil,
  log_probs: boolean() | nil,
  max_tokens: integer() | nil,
  messages: [ExBifrost.Model.CohereMessage.t()],
  model: String.t(),
  p: number() | nil,
  presence_penalty: number() | nil,
  response_format: ExBifrost.Model.CohereChatRequestResponseFormat.t() | nil,
  safety_mode: String.t() | nil,
  stop_sequences: [String.t()] | nil,
  stream: boolean() | nil,
  strict_tool_choice: boolean() | nil,
  temperature: number() | nil,
  thinking: ExBifrost.Model.CohereChatRequestThinking.t() | nil,
  tool_choice: String.t() | nil,
  tools: [ExBifrost.Model.CohereChatRequestToolsInner.t()] | nil
}

Functions

decode(value)