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

Constrains the tools available to the model to a pre-defined set.

Fields

  • :allowed_tools - required - ExOpenAI.Components.ChatCompletionAllowedTools.t()

  • :type - required - :allowed_tools
    Allowed tool configuration type. Always allowed_tools.
    Allowed values: "allowed_tools"

Summary

Types

@type t() :: %ExOpenAI.Components.ChatCompletionAllowedToolsChoice{
  allowed_tools: ExOpenAI.Components.ChatCompletionAllowedTools.t(),
  type: :allowed_tools
}