class

OpenAI::ChatCompletionFunctionCallOption

Inherits JSON::Serializable < Reference < Object

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

Constructors

new(name : String = "")
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

name

The name of the function to call.

Source
name=(name : String)

The name of the function to call.

Source