LanguageModelChatCapabilities

Various features that the LanguageModelChatInformation supports such as tool calling or image input.

Online Documentation

Properties

Link copied to clipboard
abstract external val imageInput: Boolean?

Whether image input is supported by the model. Common supported images are jpg and png, but each model will vary in supported mimetypes.

Link copied to clipboard
abstract external val toolCalling: JsAny?

Whether tool calling is supported by the model. If a number is provided, that is the maximum number of tools that can be provided in a request to the model.