CollectionManagementTests.cs (6)
99public virtual VectorStoreCollection<TKey, Record> GetCollection()
100=> fixture.TestStore.CreateCollection<TKey, Record>(CollectionName, CreateRecordDefinition());
107new VectorStoreKeyProperty(nameof(Record.Key), typeof(TKey)) { StorageName = "key" },
108new VectorStoreDataProperty(nameof(Record.Text), typeof(string)) { StorageName = "text" },
109new VectorStoreDataProperty(nameof(Record.Number), typeof(int)) { StorageName = "number" },
110new VectorStoreVectorProperty(nameof(Record.Floats), typeof(ReadOnlyMemory<float>), 10) { IndexKind = fixture.TestStore.DefaultIndexKind }