Contents

capabilities

The capabilities of this language model.

Declaration

var capabilities: LanguageModelCapabilities { get }

Discussion

If a developer attempts to use capabilities that your model does not support, the system automatically throws an error for you instead of calling a respond method, like respond(to:options:) or streamResponse(to:options:).