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, then the system will automatically throw a LanguageModelSession.GenerationError.unsupportedFeature error for you instead of calling respond(to:).