VectorStore.GetDynamicCollection Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets a collection from the vector store, using dynamic mapping; the record type is represented as a 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))
Parameters
- name
- String
The name of the collection.
- definition
- VectorStoreCollectionDefinition
The schema of the record type.
Returns
A new VectorStoreCollection<TKey,TRecord> instance for managing the records in the collection.