你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

ModelType Struct

Definition

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

Audio generation.

Chat

Chat completions.

Embeddings

Embeddings.

ImageEmbeddings

Image embeddings.

ImageGeneration

Image generation.

TextGeneration

Text generation.

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)

Converts a String to a ModelType.

Inequality(ModelType, ModelType)

Determines if two ModelType values are not the same.

Applies to