34 references to Embedding
Aspire.Azure.AI.OpenAI.Tests (1)
Aspire.OpenAI.Tests (1)
Microsoft.Extensions.AI.Abstractions.Tests (25)
Embeddings\GeneratedEmbeddingsTests.cs (20)
41Assert.False(instance.Contains(new Embedding<float>(new float[] { 1, 2, 3 })));
44Assert.Equal(-1, instance.IndexOf(new Embedding<float>(new float[] { 1, 2, 3 })));
85var e = new Embedding<float>(new float[] { 7, 8, 9 });
116var e = new Embedding<float>(new float[] { 1, 2, 3 });
128var e1 = new Embedding<float>(new float[] { 1, 2, 3 });
129var e2 = new Embedding<float>(new float[] { 4, 5, 6 });
143var e1 = new Embedding<float>(new float[] { 1, 2, 3 });
144var e2 = new Embedding<float>(new float[] { 4, 5, 6 });
159var e1 = new Embedding<float>(new float[] { 1, 2, 3 });
160var e2 = new Embedding<float>(new float[] { 4, 5, 6 });
182var e1 = new Embedding<float>(new float[] { 1, 2, 3 });
183var e2 = new Embedding<float>(new float[] { 4, 5, 6 });
201var e1 = new Embedding<float>(new float[] { 1, 2, 3 });
202var e2 = new Embedding<float>(new float[] { 4, 5, 6 });
207var e3 = new Embedding<float>(new float[] { 7, 8, 9 });
219var e1 = new Embedding<float>(new float[] { 1, 2, 3 });
220var e2 = new Embedding<float>(new float[] { 4, 5, 6 });
225var e3 = new Embedding<float>(new float[] { 7, 8, 9 });
237var e1 = new Embedding<float>(new float[] { 1, 2, 3 });
238var e2 = new Embedding<float>(new float[] { 4, 5, 6 });
Microsoft.Extensions.AI.AzureAIInference (1)
Microsoft.Extensions.AI.Integration.Tests (1)
Microsoft.Extensions.AI.OpenAI (1)
Microsoft.Extensions.AI.Tests (4)