FunctionCallContent.CreateFromParsedArguments<TEncoding> 메서드

정의

지정된 인코딩 및 파서로 구문 분석 인수의 FunctionCallContent 새 인스턴스를 만듭니다.

public:
generic <typename TEncoding>
 static Microsoft::Extensions::AI::FunctionCallContent ^ CreateFromParsedArguments(TEncoding encodedArguments, System::String ^ callId, System::String ^ name, Func<TEncoding, System::Collections::Generic::IDictionary<System::String ^, System::Object ^> ^> ^ argumentParser);
public static Microsoft.Extensions.AI.FunctionCallContent CreateFromParsedArguments<TEncoding>(TEncoding encodedArguments, string callId, string name, Func<TEncoding,System.Collections.Generic.IDictionary<string,object?>?> argumentParser);
static member CreateFromParsedArguments : 'Encoding * string * string * Func<'Encoding, System.Collections.Generic.IDictionary<string, obj>> -> Microsoft.Extensions.AI.FunctionCallContent
Public Shared Function CreateFromParsedArguments(Of TEncoding) (encodedArguments As TEncoding, callId As String, name As String, argumentParser As Func(Of TEncoding, IDictionary(Of String, Object))) As FunctionCallContent

형식 매개 변수

TEncoding

함수 호출 인수를 구문 분석할 인코딩 형식입니다.

매개 변수

encodedArguments
TEncoding

에 인코딩된 입력 인수입니다 TEncoding.

callId
String

함수 호출 ID입니다.

name
String

함수 이름입니다.

argumentParser
Func<TEncoding,IDictionary<String,Object>>

인코딩을 인수 사전으로 변환하는 구문 분석 구현입니다.

반품

구문 분석 결과를 포함하는 새 인스턴스 FunctionCallContent 입니다.

예외

argumentParsernull입니다.

적용 대상