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

Module for representing the OpenAI schema AssistantToolsFunction.

Fields

  • :function - required - ExOpenAI.Components.FunctionObject.t()

  • :type - required - :function
    The type of tool being defined: function
    Allowed values: "function"

Summary

Types

@type t() :: %ExOpenAI.Components.AssistantToolsFunction{
  function: ExOpenAI.Components.FunctionObject.t(),
  type: :function
}