VectorStoreVectorAttribute Třída

Definice

Definuje atribut, který označí vlastnost třídy záznamu jako vektor.

public ref class VectorStoreVectorAttribute sealed : Attribute
[System.AttributeUsage(System.AttributeTargets.Property, AllowMultiple=false)]
public sealed class VectorStoreVectorAttribute : Attribute
[<System.AttributeUsage(System.AttributeTargets.Property, AllowMultiple=false)>]
type VectorStoreVectorAttribute = class
    inherit Attribute
Public NotInheritable Class VectorStoreVectorAttribute
Inherits Attribute
Dědičnost
VectorStoreVectorAttribute
Atributy

Poznámky

Vlastnosti definované zde ovlivňují způsob, jakým je vlastnost zpracována úložištěm vektorů.

Konstruktory

Name Description
VectorStoreVectorAttribute(Int32)

Inicializuje novou instanci VectorStoreVectorAttribute třídy.

Vlastnosti

Name Description
Dimensions

Získá počet dimenzí, které vektor má.

DistanceFunction

Získá funkci vzdálenosti, která se má použít při porovnávání vektorů.

IndexKind

Získá typ indexu, který se má použít.

StorageName

Získá volitelný název, který se má použít pro vlastnost v úložišti, pokud se liší od názvu vlastnosti.

Platí pro