ModelSpec interface
The specification of a model. All fields are read-only.
Properties
| is |
Whether access to the model is restricted and requires credential. |
| license | The license of the model, when known. SPDX license identifier, e.g. |
| max |
The maximum context length supported by the model, in tokens. |
Property Details
isRestricted
Whether access to the model is restricted and requires credential.
isRestricted: boolean
Property Value
boolean
license
The license of the model, when known. SPDX license identifier, e.g. mit, apache-2.0.
license?: string
Property Value
string
maxContextLength
The maximum context length supported by the model, in tokens.
maxContextLength: number
Property Value
number