View Source ExOpenAI.Components.ResponseProperties (ex_openai.ex v1.8.0)

Schema representing a ResponseProperties within the OpenAI API

Summary

Types

@type t() :: %ExOpenAI.Components.ResponseProperties{
  instructions: String.t() | nil,
  max_output_tokens: integer() | nil,
  previous_response_id: String.t() | nil,
  reasoning: ExOpenAI.Components.Reasoning.t() | nil,
  text:
    %{format: ExOpenAI.Components.TextResponseFormatConfiguration.t()} | nil,
  tool_choice:
    (ExOpenAI.Components.ToolChoiceFunction.t()
     | ExOpenAI.Components.ToolChoiceTypes.t()
     | ExOpenAI.Components.ToolChoiceOptions.t())
    | nil,
  tools: [ExOpenAI.Components.Tool.t()] | nil,
  truncation: (:disabled | :auto) | nil
}