3 writes to Contents
Microsoft.Extensions.AI.Evaluation (1)
EvaluationContext.cs (1)
104Contents = [.. contents];
Microsoft.Extensions.AI.Evaluation.Reporting (1)
Generated\Basic.CompilerLog.Util\Basic.CompilerLog.Util.Impl.BasicGeneratedFilesAnalyzerReference\JsonContext.EvaluationContext.g.cs (1)
83Setter = static (obj, value) => ((global::Microsoft.Extensions.AI.Evaluation.EvaluationContext)obj).Contents = value!,
Microsoft.Extensions.AI.Evaluation.Reporting.Azure (1)
Generated\Basic.CompilerLog.Util\Basic.CompilerLog.Util.Impl.BasicGeneratedFilesAnalyzerReference\JsonContext.EvaluationContext.g.cs (1)
83Setter = static (obj, value) => ((global::Microsoft.Extensions.AI.Evaluation.EvaluationContext)obj).Contents = value!,
20 references to Contents
Microsoft.Extensions.AI.Evaluation (9)
EvaluationContext.cs (9)
27/// However, the expectation is that the <see cref="Contents"/> property will always return a collection of 38/// <see cref="Contents"/> will be serialized. Any information that is (only) present in custom derived 41/// <see cref="Contents"/> property returns a collection of <see cref="AIContent"/>s that represent <b>all</b> the 69/// needed. However, the expectation is that the <see cref="Contents"/> property will always return a collection of 80/// <see cref="EvaluationContext"/>, only the information captured within <see cref="Contents"/> will be 84/// <see cref="Contents"/> property returns a collection of <see cref="AIContent"/>s that represent <b>all</b> the 99/// The contents of the <see cref="EvaluationContext"/>. (See <see cref="Contents"/>.) 112/// The contents of the <see cref="EvaluationContext"/>. (See <see cref="Contents"/>.) 124/// The content of the <see cref="EvaluationContext"/>. (See <see cref="Contents"/>.)
Microsoft.Extensions.AI.Evaluation.Reporting (3)
Generated\Basic.CompilerLog.Util\Basic.CompilerLog.Util.Impl.BasicGeneratedFilesAnalyzerReference\JsonContext.EvaluationContext.g.cs (2)
82Getter = static obj => ((global::Microsoft.Extensions.AI.Evaluation.EvaluationContext)obj).Contents, 117global::System.Collections.Generic.IList<global::Microsoft.Extensions.AI.AIContent> __value_Contents = ((global::Microsoft.Extensions.AI.Evaluation.EvaluationContext)value).Contents;
JsonSerialization\EvaluationContextConverter.cs (1)
91JsonSerializer.Serialize(writer, value.Contents, contentsTypeInfo);
Microsoft.Extensions.AI.Evaluation.Reporting.Azure (3)
Generated\Basic.CompilerLog.Util\Basic.CompilerLog.Util.Impl.BasicGeneratedFilesAnalyzerReference\JsonContext.EvaluationContext.g.cs (2)
82Getter = static obj => ((global::Microsoft.Extensions.AI.Evaluation.EvaluationContext)obj).Contents, 117global::System.Collections.Generic.IList<global::Microsoft.Extensions.AI.AIContent> __value_Contents = ((global::Microsoft.Extensions.AI.Evaluation.EvaluationContext)value).Contents;
parent\Microsoft.Extensions.AI.Evaluation.Reporting\CSharp\JsonSerialization\EvaluationContextConverter.cs (1)
91JsonSerializer.Serialize(writer, value.Contents, contentsTypeInfo);
Microsoft.Extensions.AI.Evaluation.Reporting.Tests (4)
ScenarioRunResultTests.cs (4)
455if (x?.Contents.Count != y?.Contents.Count) 460if (x?.Contents is IList<AIContent> xContents && y?.Contents is IList<AIContent> yContents)
Microsoft.Extensions.AI.Evaluation.Safety (1)
ContentSafetyEvaluator.cs (1)
112relevantContext.SelectMany(c => c.Contents) is IEnumerable<AIContent> contents && contents.Any() &&