View Source ExOpenAI.Components.InferenceOptions (ex_openai.ex v2.0.0-beta2)

Model and tool overrides applied when generating the assistant response.

Fields

  • :model - required - String.t() | any()

  • :tool_choice - required - ExOpenAI.Components.ToolChoice.t() | any()

Summary

Types

@type t() :: %ExOpenAI.Components.InferenceOptions{
  model: String.t() | any(),
  tool_choice: ExOpenAI.Components.ToolChoice.t() | any()
}