1 override of GetAsync
Microsoft.Extensions.VectorData.ConformanceTests (1)
DependencyInjectionTests.cs (1)
295public override IAsyncEnumerable<TRecord> GetAsync(
32 references to GetAsync
Microsoft.Extensions.DataIngestion (1)
Writers\VectorStoreWriter.cs (1)
186await foreach (var record in _vectorStoreCollection!.GetAsync(
Microsoft.Extensions.DataIngestion.Tests (8)
IngestionPipelineTests.cs (3)
98.GetAsync(record => _sampleFiles.Any(info => info.FullName == (string)record["documentid"]!), top: 1000) 132.GetAsync(record => ((string)record["documentid"]!).StartsWith(directory.FullName), top: 1000) 162.GetAsync(record => ((string)record["documentid"]!).EndsWith(_withImage.Name), top: 100)
Writers\VectorStoreWriterTests.cs (5)
45.GetAsync(filter: record => (string)record["documentid"]! == documentId, top: 1) 91.GetAsync(filter: record => (string)record["documentid"]! == documentId, top: 100) 111.GetAsync(filter: record => (string)record["documentid"]! == documentId, top: 100) 147.GetAsync(filter: record => (string)record["documentid"]! == documentId, top: 10000) 162.GetAsync(filter: record => (string)record["documentid"]! == documentId, top: 10000)
Microsoft.Extensions.VectorData.Abstractions (1)
FilteredRecordRetrievalOptions.cs (1)
13/// Defines options for calling <see cref="VectorStoreCollection{TKey, TRecord}.GetAsync(Expression{Func{TRecord, bool}}, int, FilteredRecordRetrievalOptions{TRecord}, CancellationToken)"/>.
Microsoft.Extensions.VectorData.ConformanceTests (22)
ModelTests\BasicModelTests.cs (13)
104var results = await Collection.GetAsync( 119var count = await Collection.GetAsync(r => true, top: 100).CountAsync(); 133var results = await Collection.GetAsync( 142results = await Collection.GetAsync( 169var results = await Collection.GetAsync( 178results = await Collection.GetAsync( 191var results = await Collection.GetAsync( 357var beforeCount = await Collection.GetAsync(r => true, top: 100).CountAsync(); 359var afterCount = await Collection.GetAsync(r => true, top: 100).CountAsync(); 389var beforeCount = await Collection.GetAsync(r => true, top: 100).CountAsync(); 391var afterCount = await Collection.GetAsync(r => true, top: 100).CountAsync(); 399var beforeCount = await Collection.GetAsync(r => true, top: 100).CountAsync(); 401var afterCount = await Collection.GetAsync(r => true, top: 100).CountAsync();
ModelTests\DynamicModelTests.cs (7)
89var results = await fixture.Collection.GetAsync( 102var count = await fixture.Collection.GetAsync(r => true, top: 100).CountAsync(); 128var results = await fixture.Collection.GetAsync( 137results = await fixture.Collection.GetAsync( 167var results = await fixture.Collection.GetAsync( 176results = await fixture.Collection.GetAsync( 189var results = await fixture.Collection.GetAsync(
Support\DynamicVectorStoreCollectionFixture.cs (1)
21await foreach (var record in Collection.GetAsync(r => true, top: BatchSize))
Support\VectorStoreCollectionFixture.cs (1)
19keys = await Collection.GetAsync(r => true, top: BatchSize).Select(r => r.Key).ToArrayAsync();