5 instantiations of AIFunctionFactoryOptions
Microsoft.Extensions.AI (3)
Microsoft.Extensions.AI.Tests (2)
15 references to AIFunctionFactoryOptions
Microsoft.Extensions.AI (13)
Functions\AIFunctionFactory.cs (12)
26private static readonly AIFunctionFactoryOptions _defaultOptions = new();
35/// <see cref="AIFunctionFactoryOptions.SerializerOptions"/>. Arguments that are not already of the expected type are
37/// <see cref="AIFunctionFactoryOptions.SerializerOptions"/>. If the argument is a <see cref="JsonElement"/>,
43public static AIFunction Create(Delegate method, AIFunctionFactoryOptions? options)
70AIFunctionFactoryOptions createOptions = serializerOptions is null && name is null && description is null
96/// <see cref="AIFunctionFactoryOptions.SerializerOptions"/>. Arguments that are not already of the expected type are
98/// <see cref="AIFunctionFactoryOptions.SerializerOptions"/>. If the argument is a <see cref="JsonElement"/>,
104public static AIFunction Create(MethodInfo method, object? target, AIFunctionFactoryOptions? options)
137AIFunctionFactoryOptions createOptions = serializerOptions is null && name is null && description is null
151public static ReflectionAIFunction Build(MethodInfo method, object? target, AIFunctionFactoryOptions options)
176private ReflectionAIFunction(ReflectionAIFunctionDescriptor functionDescriptor, object? target, AIFunctionFactoryOptions options)
230public static ReflectionAIFunctionDescriptor GetOrCreate(MethodInfo method, AIFunctionFactoryOptions options)
Microsoft.Extensions.AI.Tests (2)