1 instantiation of EmbeddedProfile
Microsoft.Extensions.AI (1)
ChatRouting\SemanticRoutingChatClient.cs (1)
342index[i] = new(_profiles[i].ClientIndex, embeddings[i].Vector.ToArray());
6 references to EmbeddedProfile
Microsoft.Extensions.AI (6)
ChatRouting\SemanticRoutingChatClient.cs (6)
57private EmbeddedProfile[]? _index; 184EmbeddedProfile[] index = await EnsureIndexAsync(cancellationToken).ConfigureAwait(false); 206foreach (EmbeddedProfile profile in index) 244EmbeddedProfile profile = index[matches[i].ProfileIndex]; 301private async Task<EmbeddedProfile[]> EnsureIndexAsync(CancellationToken cancellationToken) 333var index = new EmbeddedProfile[_profiles.Length];