語言

VectorStoreDataAttribute 類別

定義

定義一個屬性,將記錄類別上的屬性標記為「資料」。

public ref class VectorStoreDataAttribute sealed : Attribute
[System.AttributeUsage(System.AttributeTargets.Property, AllowMultiple=false)]
public sealed class VectorStoreDataAttribute : Attribute
[<System.AttributeUsage(System.AttributeTargets.Property, AllowMultiple=false)>]
type VectorStoreDataAttribute = class
    inherit Attribute
Public NotInheritable Class VectorStoreDataAttribute
Inherits Attribute
繼承
VectorStoreDataAttribute
屬性

備註

標記屬性為「資料」表示該屬性既不是鍵,也不是向量。 但可選擇性地,此性質可包含包含該資料嵌入的向量場。 此處定義的特性會影響向量儲存如何處理該性質。

建構函式

名稱 Description
VectorStoreDataAttribute()

定義一個屬性,將記錄類別上的屬性標記為「資料」。

屬性

名稱 Description
IsFullTextIndexed

會取得一個值,表示此資料屬性是否被索引用於全文搜尋。

IsIndexed

會得到一個值,表示該資料屬性是否被索引。

StorageName

如果名稱與物業名稱不同,則會獲得一個可選的儲存資產名稱。

適用於