다음을 통해 공유


Embedding Class

Definition

Represents the embedding settings for the vector index.

public class Embedding : IEquatable<Microsoft.Azure.Cosmos.Embedding>
type Embedding = class
    interface IEquatable<Embedding>
Public Class Embedding
Implements IEquatable(Of Embedding)
Inheritance
Embedding
Implements

Constructors

Embedding()

Properties

DataType

Gets or sets the VectorDataType representing the corresponding vector data type.

Dimensions

Gets or sets an integer representing the dimensions of a vector.

DistanceFunction

Gets or sets the DistanceFunction which is used to calculate the respective distance between the vectors.

Path

Gets or sets a string containing the path of the vector index.

Methods

Equals(Embedding)

Indicates whether the current object is equal to another object of the same type.

ValidateEmbeddingPath()

Ensures that the paths specified in the vector embedding policy are valid.

Applies to