VectorStore.GetDynamicCollection Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Obtient une collection à partir du magasin vectoriel, à l’aide du mappage dynamique ; le type d’enregistrement est représenté en tant que 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))
Paramètres
- name
- String
Nom de la collection.
- definition
- VectorStoreCollectionDefinition
Schéma du type d’enregistrement.
Retours
Nouvelle VectorStoreCollection<TKey,TRecord> instance de gestion des enregistrements dans la collection.