CustomAIModelSpec Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Platform-resolved specification of a custom model. Extends ModelSpec with custom model-specific metadata. All fields are read-only. Reserved so custom-model-specific fields can be added without changing the SDK surface.
public class CustomAIModelSpec : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.ContainerServiceAIManager.Models.CustomAIModelSpec>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.ContainerServiceAIManager.Models.CustomAIModelSpec>
type CustomAIModelSpec = class
interface IJsonModel<CustomAIModelSpec>
interface IPersistableModel<CustomAIModelSpec>
Public Class CustomAIModelSpec
Implements IJsonModel(Of CustomAIModelSpec), IPersistableModel(Of CustomAIModelSpec)
- Inheritance
-
CustomAIModelSpec
- Implements
Properties
| Name | Description |
|---|---|
| IsRestricted |
Whether access to the model is restricted and requires credential. |
| License |
The license of the model, when known. SPDX license identifier, e.g. |
| MaxContextLength |
The maximum context length supported by the model, in tokens. |