Lire en anglais

Partager via


AIFunctionFactory Class

Definition

Provides factory methods for creating commonly used implementations of AIFunction.

C#
public static class AIFunctionFactory
Inheritance
AIFunctionFactory

Methods

Create(Delegate, AIFunctionFactoryOptions)

Creates an AIFunction instance for a method, specified via a delegate.

Create(Delegate, String, String, JsonSerializerOptions)

Creates an AIFunction instance for a method, specified via a delegate.

Create(MethodInfo, Object, AIFunctionFactoryOptions)

Creates an AIFunction instance for a method, specified via an MethodInfo instance and an optional target object if the method is an instance method.

Create(MethodInfo, Object, String, String, JsonSerializerOptions)

Creates an AIFunction instance for a method, specified via an MethodInfo instance and an optional target object if the method is an instance method.

Applies to

Produit Versions
.NET 8 (package-provided), 9 (package-provided)
.NET Framework 4.7 (package-provided), 4.7.1 (package-provided), 4.7.2 (package-provided), 4.8 (package-provided)
.NET Standard 2.0 (package-provided)