25 references to new
Microsoft.Extensions.AI (3)
Functions\AIFunctionFactory.cs (3)
36
private static readonly AIFunctionFactoryOptions _defaultOptions =
new
();
220
:
new
()
432
:
new
()
Microsoft.Extensions.AI.Abstractions.Tests (1)
Utilities\AIJsonUtilitiesTests.cs (1)
347
new
AIFunctionFactoryOptions
Microsoft.Extensions.AI.Tests (21)
Functions\AIFunctionFactoryTest.cs (21)
174
var options = new
AIFunctionFactoryOptions
199
AIFunctionFactoryOptions options =
new
();
214
new
()
338
func = AIFunctionFactory.Create((MyService myService) => myService.Value,
new
() { Services = sp });
345
func = AIFunctionFactory.Create((MyService? myService = null) => myService?.Value ?? 456,
new
() { Services = sp });
365
new
()
382
new
()
426
new
()
445
new
()
464
new
()
550
new
AIFunctionFactoryOptions
602
new
AIFunctionFactoryOptions
619
new
AIFunctionFactoryOptions
635
new
()
658
new
()
681
new
()
704
new
()
727
new
()
750
new
()
773
new
()
796
new
()