getCollection<TKey, TRecord> abstract method
VectorStoreCollection<TKey, TRecord>
getCollection<TKey, TRecord>(
- String name, {
- VectorStoreCollectionDefinition? definition,
Gets a strongly-typed collection of records.
name is the collection name in the store. definition provides the
explicit schema; when null the store may derive the schema from
annotations on TRecord or from conventions.
Implementation
VectorStoreCollection<TKey, TRecord> getCollection<TKey, TRecord>(
String name, {
VectorStoreCollectionDefinition? definition,
});