VectorStoreVectorAttribute クラス

定義

レコード クラスのプロパティをベクターとしてマークする属性を定義します。

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
継承
VectorStoreVectorAttribute
属性

注釈

ここで定義されている特性は、ベクター ストアによるプロパティの処理方法に影響します。

コンストラクター

名前 説明
VectorStoreVectorAttribute(Int32)

VectorStoreVectorAttribute クラスの新しいインスタンスを初期化します。

プロパティ

名前 説明
Dimensions

ベクターに含まれる次元の数を取得します。

DistanceFunction

ベクトルを比較するときに使用する距離関数を取得します。

IndexKind

使用するインデックスの種類を取得します。

StorageName

プロパティ名と異なる場合は、ストレージ内のプロパティに使用する省略可能な名前を取得します。

適用対象