8 references to ArgumentOutOfRangeException
Microsoft.Extensions.AI.OpenAI (8)
OpenAIEmbeddingGenerator.cs (2)
45Throw.ArgumentOutOfRangeException(nameof(dimensions), "Value must be greater than 0."); 71Throw.ArgumentOutOfRangeException(nameof(dimensions), "Value must be greater than 0.");
src\Shared\Throw\Throw.cs (6)
230ArgumentOutOfRangeException(paramName, $"{argument} is an invalid value for enum type {typeof(T)}"); 517ArgumentOutOfRangeException(paramName, "Argument is zero"); 629ArgumentOutOfRangeException(paramName, "Argument is zero"); 741ArgumentOutOfRangeException(paramName, "Argument is zero"); 853ArgumentOutOfRangeException(paramName, "Argument is zero"); 980ArgumentOutOfRangeException(paramName, "Argument is zero");