Freigeben über


AIFunctionFactory Class

Definition

Provides factory methods for creating commonly-used implementations of AIFunction.

public ref class AIFunctionFactory abstract sealed
public static class AIFunctionFactory
type AIFunctionFactory = class
Public Class AIFunctionFactory
Inheritance
AIFunctionFactory

Methods

Create(Delegate, AIFunctionFactoryCreateOptions)

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, AIFunctionFactoryCreateOptions)

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