Contents

required

The model must call one or multiple tools.

Declaration

static let required: GenerationOptions.ToolCallingMode

Mentioned in

Discussion

Please note that LanguageModelSession will loop until a Tool throws an error or this value is changed dynamically via LanguageModelSession.Manifest.

See Also

Getting the tool calling modes