Model
@Serializable
Represents a model with its metadata and configuration parameters, providing detailed information about its capabilities and restrictions.
Constructors
Properties
Link copied to clipboard
A brief description of the model, outlining its purpose, use case, or capabilities.
Link copied to clipboard
A human-readable name for the model, intended for display purposes.
Link copied to clipboard
The maximum number of tokens that can be provided as input to the model.
Link copied to clipboard
The maximum number of tokens that the model can generate as output.
Link copied to clipboard
A list of strings indicating the generation methods supported by the model (e.g., "text", "code").
Link copied to clipboard
An optional parameter influencing the randomness of the output. Lower values make the model more deterministic.