Share via


AIJsonUtilities.ResolveParameterJsonSchema Method

Definition

public static System.Text.Json.JsonElement ResolveParameterJsonSchema (Microsoft.Extensions.AI.AIFunctionParameterMetadata parameterMetadata, Microsoft.Extensions.AI.AIFunctionMetadata functionMetadata, System.Text.Json.JsonSerializerOptions? serializerOptions = default, Microsoft.Extensions.AI.AIJsonSchemaCreateOptions? inferenceOptions = default);
static member ResolveParameterJsonSchema : Microsoft.Extensions.AI.AIFunctionParameterMetadata * Microsoft.Extensions.AI.AIFunctionMetadata * System.Text.Json.JsonSerializerOptions * Microsoft.Extensions.AI.AIJsonSchemaCreateOptions -> System.Text.Json.JsonElement
Public Shared Function ResolveParameterJsonSchema (parameterMetadata As AIFunctionParameterMetadata, functionMetadata As AIFunctionMetadata, Optional serializerOptions As JsonSerializerOptions = Nothing, Optional inferenceOptions As AIJsonSchemaCreateOptions = Nothing) As JsonElement

Parameters

parameterMetadata
AIFunctionParameterMetadata
functionMetadata
AIFunctionMetadata
serializerOptions
JsonSerializerOptions
inferenceOptions
AIJsonSchemaCreateOptions

Returns

Applies to