ModelType 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 type of AI model.
public readonly struct ModelType : IEquatable<Azure.AI.Inference.ModelType>
type ModelType = struct
Public Structure ModelType
Implements IEquatable(Of ModelType)
- Inheritance
-
ModelType
- Implements
Constructors
ModelType(String) |
Initializes a new instance of ModelType. |
Properties
AudioGeneration |
A text-to-audio generative model. |
ChatCompletion |
A model capable of taking chat-formatted messages and generate responses. |
Embeddings |
A model capable of generating embeddings from a text. |
ImageEmbeddings |
A model capable of generating embeddings from an image. |
ImageGeneration |
A model capable of generating images from an image and text description. |
TextGeneration |
A text generation model. |
Methods
Equals(ModelType) |
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
Equality(ModelType, ModelType) |
Determines if two ModelType values are the same. |
Implicit(String to ModelType) | |
Inequality(ModelType, ModelType) |
Determines if two ModelType values are not the same. |
Applies to
Azure SDK for .NET