CognitiveServicesRoutingMode Struct
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.
The model-router routing mode that determines how requests are distributed across models.
public readonly struct CognitiveServicesRoutingMode : IEquatable<Azure.ResourceManager.CognitiveServices.Models.CognitiveServicesRoutingMode>
type CognitiveServicesRoutingMode = struct
Public Structure CognitiveServicesRoutingMode
Implements IEquatable(Of CognitiveServicesRoutingMode)
- Inheritance
-
CognitiveServicesRoutingMode
- Implements
Constructors
| Name | Description |
|---|---|
| CognitiveServicesRoutingMode(String) |
Initializes a new instance of CognitiveServicesRoutingMode. |
Properties
| Name | Description |
|---|---|
| Balanced |
Balance cost and quality when routing requests across models. |
| Cost |
Route requests to minimize cost while meeting performance requirements. |
| Quality |
Route requests to maximize quality regardless of cost. |
Methods
| Name | Description |
|---|---|
| Equals(CognitiveServicesRoutingMode) |
Indicates whether the current object is equal to another object of the same type. |
| ToString() |
Returns the fully qualified type name of this instance. |
Operators
| Name | Description |
|---|---|
| Equality(CognitiveServicesRoutingMode, CognitiveServicesRoutingMode) |
Determines if two CognitiveServicesRoutingMode values are the same. |
| Implicit(String to CognitiveServicesRoutingMode) |
Converts a string to a CognitiveServicesRoutingMode. |
| Implicit(String to Nullable<CognitiveServicesRoutingMode>) | |
| Inequality(CognitiveServicesRoutingMode, CognitiveServicesRoutingMode) |
Determines if two CognitiveServicesRoutingMode values are not the same. |