| Parameter | Type | Description | Example |
|---|---|---|---|
| object | The AI API configurations. | ||
| customDomainIds | array | The IDs of the custom domain names. | |
| string | The domain name ID. | d-xxx | |
| environmentId | string | The environment ID. | env-xxx |
| backendScene | string | The publishing scenario. | SingleService |
| serviceConfigs | array<object> | The service configurations. | |
| object | |||
| serviceId | string | The service ID. | svc-xxx |
| weight | long | The service weight. | 100 |
| modelNamePattern | string | The model name matching rule. | qwen-* |
| modelName | string | The model name. | qwen-max |
| policyConfigs | array<object> | The policy configurations. | |
| object | |||
| type | string | The policy type. | AiFallback |
| enable | boolean | Specifies whether to enable the policy. | true |
| aiFallbackConfig | object | The fallback configurations | |
| serviceIds | array | The service IDs. | |
| string | The service ID. | svc-xxx | |
| autoDeploy | boolean | Specifies whether to enable automatic deployment. | true |