Utilities\AIJsonUtilitiesTests.cs (3)
291AIFunction func = AIFunctionFactory.Create((int x, int y) => x + y, serializerOptions: options);
366AIFunction func = AIFunctionFactory.Create((int a, int? b, long c, short d, float e, double f, decimal g) => { }, serializerOptions: options);
414AIFunction func = AIFunctionFactory.Create(([Range(1, 10)] int num, [StringLength(100, MinimumLength = 1)] string str) => num + str.Length, serializerOptions: options);