VectorStoreVectorAttribute クラス
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
レコード クラスのプロパティをベクターとしてマークする属性を定義します。
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(Int32) |
VectorStoreVectorAttribute クラスの新しいインスタンスを初期化します。 |
プロパティ
| 名前 | 説明 |
|---|---|
| Dimensions |
ベクターに含まれる次元の数を取得します。 |
| DistanceFunction |
ベクトルを比較するときに使用する距離関数を取得します。 |
| IndexKind |
使用するインデックスの種類を取得します。 |
| StorageName |
プロパティ名と異なる場合は、ストレージ内のプロパティに使用する省略可能な名前を取得します。 |