3 types derived from InputResponseContent
Microsoft.Extensions.AI.Abstractions (1)
Contents\ToolApprovalResponseContent.cs (1)
13public sealed class ToolApprovalResponseContent : InputResponseContent
Microsoft.Extensions.AI.Abstractions.Tests (1)
Contents\InputResponseContentTests.cs (1)
99private class TestInputResponseContent : InputResponseContent
Microsoft.Extensions.AI.Tests (1)
ChatReduction\SummarizingChatReducerTests.cs (1)
396private sealed class TestInputResponseContent : InputResponseContent
119 references to InputResponseContent
Microsoft.Extensions.AI (1)
ChatReduction\SummarizingChatReducer.cs (1)
212or InputResponseContent;
Microsoft.Extensions.AI.Abstractions (19)
Contents\AIContent.cs (1)
24[JsonDerivedType(typeof(InputResponseContent), typeDiscriminator: "inputResponse")]
Contents\InputRequestContent.cs (1)
28/// Gets the unique identifier that correlates this request with its corresponding <see cref="InputResponseContent"/>.
Contents\InputResponseContent.cs (1)
17/// Initializes a new instance of the <see cref="InputResponseContent"/> class.
Generated\361d1da7f942c932\JsonContext.ToolApprovalResponseContent.g.cs (3)
119DeclaringType = typeof(global::Microsoft.Extensions.AI.InputResponseContent), 121Getter = static obj => ((global::Microsoft.Extensions.AI.InputResponseContent)obj).RequestId, 129AttributeProviderFactory = static () => typeof(global::Microsoft.Extensions.AI.InputResponseContent).GetProperty("RequestId", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null),
Generated\Basic.CompilerLog.Util\Basic.CompilerLog.Util.Impl.BasicGeneratedFilesAnalyzerReference\JsonContext.GetJsonTypeInfo.g.cs (1)
248if (type == typeof(global::Microsoft.Extensions.AI.InputResponseContent))
Generated\Basic.CompilerLog.Util\Basic.CompilerLog.Util.Impl.BasicGeneratedFilesAnalyzerReference\JsonContext.InputResponseContent.g.cs (12)
15private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.InputResponseContent>? _InputResponseContent; 21public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.InputResponseContent> InputResponseContent 24get => _InputResponseContent ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.InputResponseContent>)Options.GetTypeInfo(typeof(global::Microsoft.Extensions.AI.InputResponseContent)); 27private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.InputResponseContent> Create_InputResponseContent(global::System.Text.Json.JsonSerializerOptions options) 29if (!TryGetTypeInfoForRuntimeCustomConverter<global::Microsoft.Extensions.AI.InputResponseContent>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.InputResponseContent> jsonTypeInfo)) 31var objectInfo = new global::System.Text.Json.Serialization.Metadata.JsonObjectInfoValues<global::Microsoft.Extensions.AI.InputResponseContent> 41jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateObjectInfo<global::Microsoft.Extensions.AI.InputResponseContent>(options, objectInfo); 58DeclaringType = typeof(global::Microsoft.Extensions.AI.InputResponseContent), 60Getter = static obj => ((global::Microsoft.Extensions.AI.InputResponseContent)obj).RequestId, 68AttributeProviderFactory = static () => typeof(global::Microsoft.Extensions.AI.InputResponseContent).GetProperty("RequestId", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null),
Microsoft.Extensions.AI.Abstractions.Tests (35)
Contents\InputResponseContentTests.cs (6)
37InputResponseContent[] contents = 44foreach (var content in contents) 47var deserialized = JsonSerializer.Deserialize<InputResponseContent>(serialized, options); 84InputResponseContent? result = JsonSerializer.Deserialize<InputResponseContent>(Json, AIJsonUtilities.DefaultOptions);
Contents\ToolApprovalResponseContentTests.cs (1)
57AssertSerializationRoundtrips<InputResponseContent>(content);
Generated\361d1da7f942c932\TestJsonSerializerContext.GetJsonTypeInfo.g.cs (2)
254if (type == typeof(global::Microsoft.Extensions.AI.InputResponseContent)) 258if (type == typeof(global::Microsoft.Extensions.AI.InputResponseContent[]))
Generated\361d1da7f942c932\TestJsonSerializerContext.InputResponseContent.g.cs (12)
13private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.InputResponseContent>? _InputResponseContent; 19public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.InputResponseContent> InputResponseContent 22get => _InputResponseContent ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.InputResponseContent>)Options.GetTypeInfo(typeof(global::Microsoft.Extensions.AI.InputResponseContent)); 25private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.InputResponseContent> Create_InputResponseContent(global::System.Text.Json.JsonSerializerOptions options) 27if (!TryGetTypeInfoForRuntimeCustomConverter<global::Microsoft.Extensions.AI.InputResponseContent>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.InputResponseContent> jsonTypeInfo)) 29var objectInfo = new global::System.Text.Json.Serialization.Metadata.JsonObjectInfoValues<global::Microsoft.Extensions.AI.InputResponseContent> 39jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateObjectInfo<global::Microsoft.Extensions.AI.InputResponseContent>(options, objectInfo); 56DeclaringType = typeof(global::Microsoft.Extensions.AI.InputResponseContent), 58Getter = static obj => ((global::Microsoft.Extensions.AI.InputResponseContent)obj).RequestId, 66AttributeProviderFactory = static () => typeof(global::Microsoft.Extensions.AI.InputResponseContent).GetProperty("RequestId", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null),
Generated\361d1da7f942c932\TestJsonSerializerContext.InputResponseContentArray.g.cs (10)
13private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.InputResponseContent[]>? _InputResponseContentArray; 19public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.InputResponseContent[]> InputResponseContentArray 22get => _InputResponseContentArray ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.InputResponseContent[]>)Options.GetTypeInfo(typeof(global::Microsoft.Extensions.AI.InputResponseContent[])); 25private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.InputResponseContent[]> Create_InputResponseContentArray(global::System.Text.Json.JsonSerializerOptions options) 27if (!TryGetTypeInfoForRuntimeCustomConverter<global::Microsoft.Extensions.AI.InputResponseContent[]>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.InputResponseContent[]> jsonTypeInfo)) 29var info = new global::System.Text.Json.Serialization.Metadata.JsonCollectionInfoValues<global::Microsoft.Extensions.AI.InputResponseContent[]> 35jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateArrayInfo<global::Microsoft.Extensions.AI.InputResponseContent>(options, info); 45private void InputResponseContentArraySerializeHandler(global::System.Text.Json.Utf8JsonWriter writer, global::Microsoft.Extensions.AI.InputResponseContent[]? value)
Generated\361d1da7f942c932\TestJsonSerializerContext.ToolApprovalResponseContent.g.cs (3)
117DeclaringType = typeof(global::Microsoft.Extensions.AI.InputResponseContent), 119Getter = static obj => ((global::Microsoft.Extensions.AI.InputResponseContent)obj).RequestId, 127AttributeProviderFactory = static () => typeof(global::Microsoft.Extensions.AI.InputResponseContent).GetProperty("RequestId", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null),
TestJsonSerializerContext.cs (1)
47[JsonSerializable(typeof(InputResponseContent[]))]
Microsoft.Extensions.AI.Evaluation.Reporting (16)
Generated\361d1da7f942c932\JsonContext.ToolApprovalResponseContent.g.cs (3)
119DeclaringType = typeof(global::Microsoft.Extensions.AI.InputResponseContent), 121Getter = static obj => ((global::Microsoft.Extensions.AI.InputResponseContent)obj).RequestId, 129AttributeProviderFactory = static () => typeof(global::Microsoft.Extensions.AI.InputResponseContent).GetProperty("RequestId", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null),
Generated\Basic.CompilerLog.Util\Basic.CompilerLog.Util.Impl.BasicGeneratedFilesAnalyzerReference\JsonContext.GetJsonTypeInfo.g.cs (1)
188if (type == typeof(global::Microsoft.Extensions.AI.InputResponseContent))
Generated\Basic.CompilerLog.Util\Basic.CompilerLog.Util.Impl.BasicGeneratedFilesAnalyzerReference\JsonContext.InputResponseContent.g.cs (12)
15private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.InputResponseContent>? _InputResponseContent; 21public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.InputResponseContent> InputResponseContent 24get => _InputResponseContent ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.InputResponseContent>)Options.GetTypeInfo(typeof(global::Microsoft.Extensions.AI.InputResponseContent)); 27private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.InputResponseContent> Create_InputResponseContent(global::System.Text.Json.JsonSerializerOptions options) 29if (!TryGetTypeInfoForRuntimeCustomConverter<global::Microsoft.Extensions.AI.InputResponseContent>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.InputResponseContent> jsonTypeInfo)) 31var objectInfo = new global::System.Text.Json.Serialization.Metadata.JsonObjectInfoValues<global::Microsoft.Extensions.AI.InputResponseContent> 41jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateObjectInfo<global::Microsoft.Extensions.AI.InputResponseContent>(options, objectInfo); 58DeclaringType = typeof(global::Microsoft.Extensions.AI.InputResponseContent), 60Getter = static obj => ((global::Microsoft.Extensions.AI.InputResponseContent)obj).RequestId, 68AttributeProviderFactory = static () => typeof(global::Microsoft.Extensions.AI.InputResponseContent).GetProperty("RequestId", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null),
Microsoft.Extensions.AI.Evaluation.Reporting.Azure (16)
Generated\361d1da7f942c932\JsonContext.ToolApprovalResponseContent.g.cs (3)
119DeclaringType = typeof(global::Microsoft.Extensions.AI.InputResponseContent), 121Getter = static obj => ((global::Microsoft.Extensions.AI.InputResponseContent)obj).RequestId, 129AttributeProviderFactory = static () => typeof(global::Microsoft.Extensions.AI.InputResponseContent).GetProperty("RequestId", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null),
Generated\Basic.CompilerLog.Util\Basic.CompilerLog.Util.Impl.BasicGeneratedFilesAnalyzerReference\JsonContext.GetJsonTypeInfo.g.cs (1)
184if (type == typeof(global::Microsoft.Extensions.AI.InputResponseContent))
Generated\Basic.CompilerLog.Util\Basic.CompilerLog.Util.Impl.BasicGeneratedFilesAnalyzerReference\JsonContext.InputResponseContent.g.cs (12)
15private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.InputResponseContent>? _InputResponseContent; 21public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.InputResponseContent> InputResponseContent 24get => _InputResponseContent ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.InputResponseContent>)Options.GetTypeInfo(typeof(global::Microsoft.Extensions.AI.InputResponseContent)); 27private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.InputResponseContent> Create_InputResponseContent(global::System.Text.Json.JsonSerializerOptions options) 29if (!TryGetTypeInfoForRuntimeCustomConverter<global::Microsoft.Extensions.AI.InputResponseContent>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.InputResponseContent> jsonTypeInfo)) 31var objectInfo = new global::System.Text.Json.Serialization.Metadata.JsonObjectInfoValues<global::Microsoft.Extensions.AI.InputResponseContent> 41jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateObjectInfo<global::Microsoft.Extensions.AI.InputResponseContent>(options, objectInfo); 58DeclaringType = typeof(global::Microsoft.Extensions.AI.InputResponseContent), 60Getter = static obj => ((global::Microsoft.Extensions.AI.InputResponseContent)obj).RequestId, 68AttributeProviderFactory = static () => typeof(global::Microsoft.Extensions.AI.InputResponseContent).GetProperty("RequestId", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null),
Microsoft.Extensions.AI.Stabilization.Tests (16)
Generated\361d1da7f942c932\AIContentSerializationRegressionContext.GetJsonTypeInfo.g.cs (1)
94if (type == typeof(global::Microsoft.Extensions.AI.InputResponseContent))
Generated\361d1da7f942c932\AIContentSerializationRegressionContext.InputResponseContent.g.cs (12)
13private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.InputResponseContent>? _InputResponseContent; 19public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.InputResponseContent> InputResponseContent 22get => _InputResponseContent ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.InputResponseContent>)Options.GetTypeInfo(typeof(global::Microsoft.Extensions.AI.InputResponseContent)); 25private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.InputResponseContent> Create_InputResponseContent(global::System.Text.Json.JsonSerializerOptions options) 27if (!TryGetTypeInfoForRuntimeCustomConverter<global::Microsoft.Extensions.AI.InputResponseContent>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.InputResponseContent> jsonTypeInfo)) 29var objectInfo = new global::System.Text.Json.Serialization.Metadata.JsonObjectInfoValues<global::Microsoft.Extensions.AI.InputResponseContent> 39jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateObjectInfo<global::Microsoft.Extensions.AI.InputResponseContent>(options, objectInfo); 56DeclaringType = typeof(global::Microsoft.Extensions.AI.InputResponseContent), 58Getter = static obj => ((global::Microsoft.Extensions.AI.InputResponseContent)obj).RequestId, 66AttributeProviderFactory = static () => typeof(global::Microsoft.Extensions.AI.InputResponseContent).GetProperty("RequestId", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null),
Generated\361d1da7f942c932\AIContentSerializationRegressionContext.ToolApprovalResponseContent.g.cs (3)
117DeclaringType = typeof(global::Microsoft.Extensions.AI.InputResponseContent), 119Getter = static obj => ((global::Microsoft.Extensions.AI.InputResponseContent)obj).RequestId, 127AttributeProviderFactory = static () => typeof(global::Microsoft.Extensions.AI.InputResponseContent).GetProperty("RequestId", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null),
Microsoft.Extensions.AI.Tests (16)
Generated\361d1da7f942c932\TestJsonSerializerContext.GetJsonTypeInfo.g.cs (1)
170if (type == typeof(global::Microsoft.Extensions.AI.InputResponseContent))
Generated\361d1da7f942c932\TestJsonSerializerContext.InputResponseContent.g.cs (12)
13private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.InputResponseContent>? _InputResponseContent; 19public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.InputResponseContent> InputResponseContent 22get => _InputResponseContent ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.InputResponseContent>)Options.GetTypeInfo(typeof(global::Microsoft.Extensions.AI.InputResponseContent)); 25private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.InputResponseContent> Create_InputResponseContent(global::System.Text.Json.JsonSerializerOptions options) 27if (!TryGetTypeInfoForRuntimeCustomConverter<global::Microsoft.Extensions.AI.InputResponseContent>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.InputResponseContent> jsonTypeInfo)) 29var objectInfo = new global::System.Text.Json.Serialization.Metadata.JsonObjectInfoValues<global::Microsoft.Extensions.AI.InputResponseContent> 39jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateObjectInfo<global::Microsoft.Extensions.AI.InputResponseContent>(options, objectInfo); 56DeclaringType = typeof(global::Microsoft.Extensions.AI.InputResponseContent), 58Getter = static obj => ((global::Microsoft.Extensions.AI.InputResponseContent)obj).RequestId, 66AttributeProviderFactory = static () => typeof(global::Microsoft.Extensions.AI.InputResponseContent).GetProperty("RequestId", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null),
Generated\361d1da7f942c932\TestJsonSerializerContext.ToolApprovalResponseContent.g.cs (3)
117DeclaringType = typeof(global::Microsoft.Extensions.AI.InputResponseContent), 119Getter = static obj => ((global::Microsoft.Extensions.AI.InputResponseContent)obj).RequestId, 127AttributeProviderFactory = static () => typeof(global::Microsoft.Extensions.AI.InputResponseContent).GetProperty("RequestId", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null),