Share via


EmbeddingEncodingFormat Struct

Definition

The format of the embeddings result. Returns a 422 error if the model doesn't support the value or parameter.

public readonly struct EmbeddingEncodingFormat : IEquatable<Azure.AI.Inference.EmbeddingEncodingFormat>
type EmbeddingEncodingFormat = struct
Public Structure EmbeddingEncodingFormat
Implements IEquatable(Of EmbeddingEncodingFormat)
Inheritance
EmbeddingEncodingFormat
Implements

Constructors

EmbeddingEncodingFormat(String)

Initializes a new instance of EmbeddingEncodingFormat.

Properties

Base64

Base64.

Binary

Binary.

Byte

Unsigned 8-bit integer.

SByte

Signed 8-bit integer.

Single

Floating point.

Ubinary

ubinary.

Methods

Equals(EmbeddingEncodingFormat)

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(EmbeddingEncodingFormat, EmbeddingEncodingFormat)

Determines if two EmbeddingEncodingFormat values are the same.

Implicit(String to EmbeddingEncodingFormat)

Converts a String to a EmbeddingEncodingFormat.

Inequality(EmbeddingEncodingFormat, EmbeddingEncodingFormat)

Determines if two EmbeddingEncodingFormat values are not the same.

Applies to