5 writes to Schema
Microsoft.Extensions.AI (1)
Functions\AIFunctionFactory.cs (1)
422Schema = AIJsonUtilities.CreateParameterJsonSchema(
Microsoft.Extensions.AI.Abstractions (1)
Functions\AIFunctionParameterMetadata.cs (1)
40Schema = metadata.Schema;
Microsoft.Extensions.AI.Abstractions.Tests (3)
Functions\AIFunctionParameterMetadataTests.cs (3)
42Schema = JsonDocument.Parse("""{"type":"integer"}"""), 65Schema = JsonDocument.Parse("""{"type":"integer"}"""), 75Schema = JsonDocument.Parse("""{"type":"number"}"""),
11 references to Schema
Microsoft.Extensions.AI.Abstractions (2)
Functions\AIFunctionParameterMetadata.cs (1)
40Schema = metadata.Schema;
Utilities\AIJsonUtilities.Schema.cs (1)
69parameterMetadata.Schema is JsonElement schema)
Microsoft.Extensions.AI.Abstractions.Tests (5)
Functions\AIFunctionParameterMetadataTests.cs (3)
29Assert.Null(p.Schema); 52Assert.Equal(p1.Schema, p2.Schema);
Utilities\AIJsonUtilitiesTests.cs (2)
220JsonElement generatedSchema = Assert.IsType<JsonElement>(param.Schema); 242JsonElement actualSchema = Assert.IsType<JsonElement>(param.Schema);
Microsoft.Extensions.AI.AzureAIInference (1)
AzureAIInferenceChatClient.cs (1)
388parameter.Schema is JsonElement schema ? schema : _defaultParameterSchema);
Microsoft.Extensions.AI.Ollama (1)
OllamaChatClient.cs (1)
445p => p.Schema is JsonElement e ? e : _defaultParameterSchema),
Microsoft.Extensions.AI.OpenAI (2)
OpenAIChatClient.cs (1)
507tool.Properties.Add(parameter.Name, parameter.Schema is JsonElement e ? e : _defaultParameterSchema);
OpenAIRealtimeExtensions.cs (1)
102{ Schema: JsonElement jsonElement } => jsonElement,