2 references to IfLessThan
Microsoft.Extensions.AI.Abstractions (2)
Embeddings\EmbeddingGenerationOptions.cs (1)
21_ = Throw.IfLessThan(value.Value, 1, nameof(value));
Embeddings\GeneratedEmbeddings.cs (1)
30_embeddings = new List<TEmbedding>(Throw.IfLessThan(capacity, 0));