FunctionInvocationContext 클래스

정의

실행 중인 함수 호출에 대한 컨텍스트를 제공합니다.

public ref class FunctionInvocationContext
public class FunctionInvocationContext
type FunctionInvocationContext = class
Public Class FunctionInvocationContext
상속
FunctionInvocationContext

생성자

Name Description
FunctionInvocationContext()

FunctionInvocationContext 클래스의 새 인스턴스를 초기화합니다.

속성

Name Description
Arguments

이 호출과 연결된 인수를 가져오거나 설정합니다.

CallContent

이 호출과 연결된 함수 호출 콘텐츠 정보를 가져오거나 설정합니다.

Function

호출할 AI 함수를 가져오거나 설정합니다.

FunctionCallIndex

반복 내에서 함수 호출의 인덱스 가져오거나 설정합니다.

FunctionCount

반복 내에서 함수 호출 요청의 총 수를 가져오거나 설정합니다.

IsStreaming

함수 호출이 호출이 아닌 GetResponseAsync(IEnumerable<ChatMessage>, ChatOptions, CancellationToken) 호출의 GetStreamingResponseAsync(IEnumerable<ChatMessage>, ChatOptions, CancellationToken) 일부로 발생하는지 여부를 나타내는 값을 가져오거나 설정합니다.

Iteration

기본 클라이언트를 사용하여 이 반복의 수를 가져오거나 설정합니다.

Messages

이 함수 호출 요청을 시작한 작업과 연결된 채팅 콘텐츠를 가져오거나 설정합니다.

Options

이 함수 호출 요청을 시작한 작업과 연결된 채팅 옵션을 가져오거나 설정합니다.

Terminate

요청을 종료할지 여부를 나타내는 값을 가져오거나 설정합니다.

적용 대상