Share via


FunctionInvocationContext Class

Definition

Provides context for an in-flight function invocation.

public ref class FunctionInvocationContext sealed
public sealed class FunctionInvocationContext
type FunctionInvocationContext = class
Public NotInheritable Class FunctionInvocationContext
Inheritance
FunctionInvocationContext

Constructors

FunctionInvocationContext()

Initializes a new instance of the FunctionInvocationContext class.

Properties

Arguments

Gets or sets the arguments associated with this invocation.

CallContent

Gets or sets the function call content information associated with this invocation.

Function

Gets or sets the AI function to be invoked.

FunctionCallIndex

Gets or sets the index of the function call within the iteration.

FunctionCount

Gets or sets the total number of function call requests within the iteration.

Iteration

Gets or sets the number of this iteration with the underlying client.

Messages

Gets or sets the chat contents associated with the operation that initiated this function call request.

Options

Gets or sets the chat options associated with the operation that initiated this function call request.

Terminate

Gets or sets a value indicating whether to terminate the request.

Applies to