5 instantiations of ChatDetails
Microsoft.Extensions.AI.Evaluation.Reporting (2)
Generated\Basic.CompilerLog.Util\Basic.CompilerLog.Util.Impl.BasicGeneratedFilesAnalyzerReference\JsonContext.ChatDetails.g.cs (1)
34ObjectWithParameterizedConstructorCreator = static args => new global::Microsoft.Extensions.AI.Evaluation.Reporting.ChatDetails((global::System.Collections.Generic.IList<global::Microsoft.Extensions.AI.Evaluation.Reporting.ChatTurnDetails>)args[0]),
ReportingConfiguration.cs (1)
213chatDetails = new ChatDetails();
Microsoft.Extensions.AI.Evaluation.Reporting.Azure (1)
Generated\Basic.CompilerLog.Util\Basic.CompilerLog.Util.Impl.BasicGeneratedFilesAnalyzerReference\JsonContext.ChatDetails.g.cs (1)
34ObjectWithParameterizedConstructorCreator = static args => new global::Microsoft.Extensions.AI.Evaluation.Reporting.ChatDetails((global::System.Collections.Generic.IList<global::Microsoft.Extensions.AI.Evaluation.Reporting.ChatTurnDetails>)args[0]),
Microsoft.Extensions.AI.Evaluation.Reporting.Tests (2)
ScenarioRunResultTests.cs (2)
81var chatDetails = new ChatDetails(turn1, turn2); 173var chatDetails = new ChatDetails(turn1, turn2);
77 references to ChatDetails
Microsoft.Extensions.AI.Evaluation.Reporting (50)
ChatDetails.cs (4)
18/// <see cref="ChatDetails"/> object. 23/// Initializes a new instance of the <see cref="ChatDetails"/> class. 35/// Initializes a new instance of the <see cref="ChatDetails"/> class. 46/// Initializes a new instance of the <see cref="ChatDetails"/> class.
ChatDetailsExtensions.cs (7)
10/// Extension methods for <see cref="ChatDetails"/>. 16/// <see cref="ChatDetails.TurnDetails"/> collection. 19/// The <see cref="ChatDetails"/> object to which the <paramref name="turnDetails"/> are to be added. 24public static void AddTurnDetails(this ChatDetails chatDetails, IEnumerable<ChatTurnDetails> turnDetails) 37/// <see cref="ChatDetails.TurnDetails"/> collection. 40/// The <see cref="ChatDetails"/> object to which the <paramref name="turnDetails"/> are to be added. 45public static void AddTurnDetails(this ChatDetails chatDetails, params ChatTurnDetails[] turnDetails)
Generated\Basic.CompilerLog.Util\Basic.CompilerLog.Util.Impl.BasicGeneratedFilesAnalyzerReference\JsonContext.ChatDetails.g.cs (16)
15private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.Evaluation.Reporting.ChatDetails>? _ChatDetails; 21public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.Evaluation.Reporting.ChatDetails> ChatDetails 24get => _ChatDetails ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.Evaluation.Reporting.ChatDetails>)Options.GetTypeInfo(typeof(global::Microsoft.Extensions.AI.Evaluation.Reporting.ChatDetails)); 27private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.Evaluation.Reporting.ChatDetails> Create_ChatDetails(global::System.Text.Json.JsonSerializerOptions options) 29if (!TryGetTypeInfoForRuntimeCustomConverter<global::Microsoft.Extensions.AI.Evaluation.Reporting.ChatDetails>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.Evaluation.Reporting.ChatDetails> jsonTypeInfo)) 31var objectInfo = new global::System.Text.Json.Serialization.Metadata.JsonObjectInfoValues<global::Microsoft.Extensions.AI.Evaluation.Reporting.ChatDetails> 37ConstructorAttributeProviderFactory = static () => typeof(global::Microsoft.Extensions.AI.Evaluation.Reporting.ChatDetails).GetConstructor(InstanceMemberBindingFlags, binder: null, new[] {typeof(global::System.Collections.Generic.IList<global::Microsoft.Extensions.AI.Evaluation.Reporting.ChatTurnDetails>)}, modifiers: null), 41jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateObjectInfo<global::Microsoft.Extensions.AI.Evaluation.Reporting.ChatDetails>(options, objectInfo); 58DeclaringType = typeof(global::Microsoft.Extensions.AI.Evaluation.Reporting.ChatDetails), 60Getter = static obj => ((global::Microsoft.Extensions.AI.Evaluation.Reporting.ChatDetails)obj).TurnDetails, 61Setter = static (obj, value) => ((global::Microsoft.Extensions.AI.Evaluation.Reporting.ChatDetails)obj).TurnDetails = value!, 68AttributeProviderFactory = static () => typeof(global::Microsoft.Extensions.AI.Evaluation.Reporting.ChatDetails).GetProperty("TurnDetails", InstanceMemberBindingFlags, null, typeof(global::System.Collections.Generic.IList<global::Microsoft.Extensions.AI.Evaluation.Reporting.ChatTurnDetails>), global::System.Array.Empty<global::System.Type>(), null), 80private void ChatDetailsSerializeHandler(global::System.Text.Json.Utf8JsonWriter writer, global::Microsoft.Extensions.AI.Evaluation.Reporting.ChatDetails? value) 90global::System.Collections.Generic.IList<global::Microsoft.Extensions.AI.Evaluation.Reporting.ChatTurnDetails> __value_TurnDetails = ((global::Microsoft.Extensions.AI.Evaluation.Reporting.ChatDetails)value).TurnDetails;
Generated\Basic.CompilerLog.Util\Basic.CompilerLog.Util.Impl.BasicGeneratedFilesAnalyzerReference\JsonContext.GetJsonTypeInfo.g.cs (1)
136if (type == typeof(global::Microsoft.Extensions.AI.Evaluation.Reporting.ChatDetails))
Generated\Basic.CompilerLog.Util\Basic.CompilerLog.Util.Impl.BasicGeneratedFilesAnalyzerReference\JsonContext.ScenarioRunResult.g.cs (8)
34ObjectWithParameterizedConstructorCreator = static args => new global::Microsoft.Extensions.AI.Evaluation.Reporting.ScenarioRunResult((string)args[0], (string)args[1], (string)args[2], (global::System.DateTime)args[3], (global::System.Collections.Generic.IList<global::Microsoft.Extensions.AI.ChatMessage>)args[4], (global::Microsoft.Extensions.AI.ChatResponse)args[5], (global::Microsoft.Extensions.AI.Evaluation.EvaluationResult)args[6], (global::Microsoft.Extensions.AI.Evaluation.Reporting.ChatDetails)args[7], (global::System.Collections.Generic.IList<string>)args[8], (int?)args[9]), 37ConstructorAttributeProviderFactory = static () => typeof(global::Microsoft.Extensions.AI.Evaluation.Reporting.ScenarioRunResult).GetConstructor(InstanceMemberBindingFlags, binder: null, new[] {typeof(string), typeof(string), typeof(string), typeof(global::System.DateTime), typeof(global::System.Collections.Generic.IList<global::Microsoft.Extensions.AI.ChatMessage>), typeof(global::Microsoft.Extensions.AI.ChatResponse), typeof(global::Microsoft.Extensions.AI.Evaluation.EvaluationResult), typeof(global::Microsoft.Extensions.AI.Evaluation.Reporting.ChatDetails), typeof(global::System.Collections.Generic.IList<string>), typeof(int?)}, modifiers: null), 205var info7 = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues<global::Microsoft.Extensions.AI.Evaluation.Reporting.ChatDetails> 220AttributeProviderFactory = static () => typeof(global::Microsoft.Extensions.AI.Evaluation.Reporting.ScenarioRunResult).GetProperty("ChatDetails", InstanceMemberBindingFlags, null, typeof(global::Microsoft.Extensions.AI.Evaluation.Reporting.ChatDetails), global::System.Array.Empty<global::System.Type>(), null), 223properties[7] = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreatePropertyInfo<global::Microsoft.Extensions.AI.Evaluation.Reporting.ChatDetails>(options, info7); 314global::Microsoft.Extensions.AI.Evaluation.Reporting.ChatDetails __value_ChatDetails = ((global::Microsoft.Extensions.AI.Evaluation.Reporting.ScenarioRunResult)value).ChatDetails; 411ParameterType = typeof(global::Microsoft.Extensions.AI.Evaluation.Reporting.ChatDetails), 414DefaultValue = default(global::Microsoft.Extensions.AI.Evaluation.Reporting.ChatDetails),
ReportingConfiguration.cs (1)
194ChatDetails? chatDetails = null;
ResponseCachingChatClient.cs (2)
16private readonly ChatDetails _chatDetails; 24ChatDetails chatDetails)
ScenarioRun.cs (3)
98private readonly ChatDetails? _chatDetails; 111ChatDetails? chatDetails = null, 169ChatDetails? chatDetails = _chatDetails is not null && _chatDetails.TurnDetails.Any() ? _chatDetails : null;
ScenarioRunResult.cs (6)
36/// An optional <see cref="Reporting.ChatDetails"/> object that contains details related to all LLM chat conversation 54ChatDetails? chatDetails = null, 75/// An optional <see cref="Reporting.ChatDetails"/> object that contains details related to all LLM chat 89ChatDetails? chatDetails = null, 147/// Gets or sets an optional <see cref="Reporting.ChatDetails"/> object that contains details related to all LLM 155public ChatDetails? ChatDetails { get; set; } = chatDetails;
SimpleChatClient.cs (2)
15private readonly ChatDetails _chatDetails; 18internal SimpleChatClient(IChatClient originalChatClient, ChatDetails chatDetails)
Microsoft.Extensions.AI.Evaluation.Reporting.Azure (25)
Generated\Basic.CompilerLog.Util\Basic.CompilerLog.Util.Impl.BasicGeneratedFilesAnalyzerReference\JsonContext.ChatDetails.g.cs (16)
15private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.Evaluation.Reporting.ChatDetails>? _ChatDetails; 21public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.Evaluation.Reporting.ChatDetails> ChatDetails 24get => _ChatDetails ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.Evaluation.Reporting.ChatDetails>)Options.GetTypeInfo(typeof(global::Microsoft.Extensions.AI.Evaluation.Reporting.ChatDetails)); 27private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.Evaluation.Reporting.ChatDetails> Create_ChatDetails(global::System.Text.Json.JsonSerializerOptions options) 29if (!TryGetTypeInfoForRuntimeCustomConverter<global::Microsoft.Extensions.AI.Evaluation.Reporting.ChatDetails>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.Evaluation.Reporting.ChatDetails> jsonTypeInfo)) 31var objectInfo = new global::System.Text.Json.Serialization.Metadata.JsonObjectInfoValues<global::Microsoft.Extensions.AI.Evaluation.Reporting.ChatDetails> 37ConstructorAttributeProviderFactory = static () => typeof(global::Microsoft.Extensions.AI.Evaluation.Reporting.ChatDetails).GetConstructor(InstanceMemberBindingFlags, binder: null, new[] {typeof(global::System.Collections.Generic.IList<global::Microsoft.Extensions.AI.Evaluation.Reporting.ChatTurnDetails>)}, modifiers: null), 41jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateObjectInfo<global::Microsoft.Extensions.AI.Evaluation.Reporting.ChatDetails>(options, objectInfo); 58DeclaringType = typeof(global::Microsoft.Extensions.AI.Evaluation.Reporting.ChatDetails), 60Getter = static obj => ((global::Microsoft.Extensions.AI.Evaluation.Reporting.ChatDetails)obj).TurnDetails, 61Setter = static (obj, value) => ((global::Microsoft.Extensions.AI.Evaluation.Reporting.ChatDetails)obj).TurnDetails = value!, 68AttributeProviderFactory = static () => typeof(global::Microsoft.Extensions.AI.Evaluation.Reporting.ChatDetails).GetProperty("TurnDetails", InstanceMemberBindingFlags, null, typeof(global::System.Collections.Generic.IList<global::Microsoft.Extensions.AI.Evaluation.Reporting.ChatTurnDetails>), global::System.Array.Empty<global::System.Type>(), null), 80private void ChatDetailsSerializeHandler(global::System.Text.Json.Utf8JsonWriter writer, global::Microsoft.Extensions.AI.Evaluation.Reporting.ChatDetails? value) 90global::System.Collections.Generic.IList<global::Microsoft.Extensions.AI.Evaluation.Reporting.ChatTurnDetails> __value_TurnDetails = ((global::Microsoft.Extensions.AI.Evaluation.Reporting.ChatDetails)value).TurnDetails;
Generated\Basic.CompilerLog.Util\Basic.CompilerLog.Util.Impl.BasicGeneratedFilesAnalyzerReference\JsonContext.GetJsonTypeInfo.g.cs (1)
136if (type == typeof(global::Microsoft.Extensions.AI.Evaluation.Reporting.ChatDetails))
Generated\Basic.CompilerLog.Util\Basic.CompilerLog.Util.Impl.BasicGeneratedFilesAnalyzerReference\JsonContext.ScenarioRunResult.g.cs (8)
34ObjectWithParameterizedConstructorCreator = static args => new global::Microsoft.Extensions.AI.Evaluation.Reporting.ScenarioRunResult((string)args[0], (string)args[1], (string)args[2], (global::System.DateTime)args[3], (global::System.Collections.Generic.IList<global::Microsoft.Extensions.AI.ChatMessage>)args[4], (global::Microsoft.Extensions.AI.ChatResponse)args[5], (global::Microsoft.Extensions.AI.Evaluation.EvaluationResult)args[6], (global::Microsoft.Extensions.AI.Evaluation.Reporting.ChatDetails)args[7], (global::System.Collections.Generic.IList<string>)args[8], (int?)args[9]), 37ConstructorAttributeProviderFactory = static () => typeof(global::Microsoft.Extensions.AI.Evaluation.Reporting.ScenarioRunResult).GetConstructor(InstanceMemberBindingFlags, binder: null, new[] {typeof(string), typeof(string), typeof(string), typeof(global::System.DateTime), typeof(global::System.Collections.Generic.IList<global::Microsoft.Extensions.AI.ChatMessage>), typeof(global::Microsoft.Extensions.AI.ChatResponse), typeof(global::Microsoft.Extensions.AI.Evaluation.EvaluationResult), typeof(global::Microsoft.Extensions.AI.Evaluation.Reporting.ChatDetails), typeof(global::System.Collections.Generic.IList<string>), typeof(int?)}, modifiers: null), 205var info7 = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues<global::Microsoft.Extensions.AI.Evaluation.Reporting.ChatDetails> 220AttributeProviderFactory = static () => typeof(global::Microsoft.Extensions.AI.Evaluation.Reporting.ScenarioRunResult).GetProperty("ChatDetails", InstanceMemberBindingFlags, null, typeof(global::Microsoft.Extensions.AI.Evaluation.Reporting.ChatDetails), global::System.Array.Empty<global::System.Type>(), null), 223properties[7] = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreatePropertyInfo<global::Microsoft.Extensions.AI.Evaluation.Reporting.ChatDetails>(options, info7); 314global::Microsoft.Extensions.AI.Evaluation.Reporting.ChatDetails __value_ChatDetails = ((global::Microsoft.Extensions.AI.Evaluation.Reporting.ScenarioRunResult)value).ChatDetails; 411ParameterType = typeof(global::Microsoft.Extensions.AI.Evaluation.Reporting.ChatDetails), 414DefaultValue = default(global::Microsoft.Extensions.AI.Evaluation.Reporting.ChatDetails),
Microsoft.Extensions.AI.Evaluation.Reporting.Tests (2)
ScenarioRunResultTests.cs (2)
81var chatDetails = new ChatDetails(turn1, turn2); 173var chatDetails = new ChatDetails(turn1, turn2);