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

Specifying a particular function via {"name": "my_function"} forces the model to call that function.

Fields

  • :name - required - String.t()
    The name of the function to call.

Summary

Types

@type t() :: %ExOpenAI.Components.ChatCompletionFunctionCallOption{name: String.t()}