LanguageModelChatInformation

Represents a language model provided by a LanguageModelChatProvider.

Online Documentation

Properties

Link copied to clipboard

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

Link copied to clipboard
abstract external val detail: String?

An optional, human-readable string which will be rendered alongside the model. Useful for distinguishing models of the same name in the UI.

Link copied to clipboard
abstract external val family: String

Opaque family-name of the language model. Values might be gpt-3.5-turbo, gpt4, phi2, or llama

Link copied to clipboard
abstract external val id: String

Unique identifier for the language model. Must be unique per provider, but not required to be globally unique.

Link copied to clipboard
abstract external val maxInputTokens: Int

The maximum number of tokens the model can accept as input.

Link copied to clipboard
abstract external val maxOutputTokens: Int

The maximum number of tokens the model is capable of producing.

Link copied to clipboard
abstract external val name: String

Human-readable name of the language model.

Link copied to clipboard
abstract external val tooltip: String?

The tooltip to render when hovering the model. Used to provide more information about the model.

Link copied to clipboard
abstract external val version: String

Opaque version string of the model. This is used as a lookup value in LanguageModelChatSelector.version An example is how GPT 4o has multiple versions like 2024-11-20 and 2024-08-06