次の方法で共有


VectorStoreRecordVectorProperty Class

Definition

Defines a vector property on a vector store record.

public sealed class VectorStoreRecordVectorProperty : Microsoft.SemanticKernel.Data.VectorStoreRecordProperty
type VectorStoreRecordVectorProperty = class
    inherit VectorStoreRecordProperty
Public NotInheritable Class VectorStoreRecordVectorProperty
Inherits VectorStoreRecordProperty
Inheritance
VectorStoreRecordVectorProperty

Remarks

The characteristics defined here will influence how the property is treated by the vector store.

Constructors

VectorStoreRecordVectorProperty(String, Type)

Initializes a new instance of the VectorStoreRecordVectorProperty class.

VectorStoreRecordVectorProperty(VectorStoreRecordVectorProperty)

Initializes a new instance of the VectorStoreRecordVectorProperty class by cloning the given source.

Properties

DataModelPropertyName

Gets or sets the name of the property on the data model.

(Inherited from VectorStoreRecordProperty)
Dimensions

Gets or sets the number of dimensions that the vector has.

DistanceFunction

Gets the distance function to use when comparing vectors.

IndexKind

Gets the kind of index to use.

PropertyType

Gets or sets the type of the property.

(Inherited from VectorStoreRecordProperty)
StoragePropertyName

Gets or sets an optional name to use for the property in storage, if different from the property name. E.g. the property name might be "MyProperty" but the storage name might be "my_property". This property will only be respected by implementations that do not support a well known serialization mechanism like JSON, in which case the attributes used by that seriallization system will be used.

(Inherited from VectorStoreRecordProperty)

Applies to