VectorStore.GetDynamicCollection Methode

Definition

Ruft eine Sammlung aus dem Vektorspeicher mithilfe der dynamischen Zuordnung ab; Der Datensatztyp wird als ein Dictionary<TKey,TValue>.

public:
 abstract Microsoft::Extensions::VectorData::VectorStoreCollection<System::Object ^, System::Collections::Generic::Dictionary<System::String ^, System::Object ^> ^> ^ GetDynamicCollection(System::String ^ name, Microsoft::Extensions::VectorData::VectorStoreCollectionDefinition ^ definition);
public abstract Microsoft.Extensions.VectorData.VectorStoreCollection<object,System.Collections.Generic.Dictionary<string,object?>> GetDynamicCollection(string name, Microsoft.Extensions.VectorData.VectorStoreCollectionDefinition definition);
abstract member GetDynamicCollection : string * Microsoft.Extensions.VectorData.VectorStoreCollectionDefinition -> Microsoft.Extensions.VectorData.VectorStoreCollection<obj, System.Collections.Generic.Dictionary<string, obj>>
Public MustOverride Function GetDynamicCollection (name As String, definition As VectorStoreCollectionDefinition) As VectorStoreCollection(Of Object, Dictionary(Of String, Object))

Parameter

name
String

Der Name der Sammlung.

definition
VectorStoreCollectionDefinition

Das Schema des Datensatztyps.

Gibt zurück

Eine neue VectorStoreCollection<TKey,TRecord> Instanz zum Verwalten der Datensätze in der Auflistung.

Gilt für: