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