Represents a language model provided by a {@linkcode LanguageModelChatProvider}.
Online Documentation
An optional, human-readable string which will be rendered alongside the model. Useful for distinguishing models of the same name in the UI.
Opaque family-name of the language model. Values might be gpt-3.5-turbo, gpt4, phi2, or llama
gpt-3.5-turbo
gpt4
phi2
llama
Unique identifier for the language model. Must be unique per provider, but not required to be globally unique.
The maximum number of tokens the model can accept as input.
The maximum number of tokens the model is capable of producing.
Human-readable name of the language model.
The tooltip to render when hovering the model. Used to provide more information about the model.
Opaque version string of the model. This is used as a lookup value in {@linkcode LanguageModelChatSelector.version} An example is how GPT 4o has multiple versions like 2024-11-20 and 2024-08-06