Current section

Files

Jump to
ex_openai lib ex_openai generated components tool_choice.ex
Raw

lib/ex_openai/generated/components/tool_choice.ex

defmodule ExOpenAI.Components.ToolChoice do
use ExOpenAI.Jason
@moduledoc """
Tool selection that the assistant should honor when executing the item.
## Fields
* `:id` - **required** - `String.t()`
Identifier of the requested tool.
"""
@type t() :: %{__struct__: __MODULE__, id: String.t()}
defstruct [:id]
end