ScenarioRunResult Class
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Represents the results of a single execution of a particular iteration of a particular scenario under evaluation. In other words, ScenarioRunResult represents the results of evaluating a ScenarioRun and includes the EvaluationResult that is produced when EvaluateAsync(IEnumerable<ChatMessage>, ChatMessage, IEnumerable<EvaluationContext>, CancellationToken) is invoked.
public ref class ScenarioRunResult sealed
public sealed class ScenarioRunResult
type ScenarioRunResult = class
Public NotInheritable Class ScenarioRunResult
- Inheritance
-
ScenarioRunResult
Each execution of an evaluation run is assigned a unique ExecutionName. A single such evaluation run can contain evaluations for multiple scenarios each with a unique ScenarioName. The execution of each such scenario in turn can include multiple iterations each with a unique IterationName.
Scenario |
Initializes a new instance of the ScenarioRunResult class. |
Scenario |
Represents the results of a single execution of a particular iteration of a particular scenario under evaluation. In other words, ScenarioRunResult represents the results of evaluating a ScenarioRun and includes the EvaluationResult that is produced when EvaluateAsync(IEnumerable<ChatMessage>, ChatMessage, IEnumerable<EvaluationContext>, CancellationToken) is invoked. |
Creation |
Gets or sets the time at which this ScenarioRunResult was created. |
Evaluation |
Gets or sets the EvaluationResult for the ScenarioRun corresponding to this ScenarioRunResult. |
Execution |
Gets or sets the ExecutionName. |
Iteration |
Gets or sets the IterationName. |
Messages |
Gets or sets the conversation history including the request that produced the ModelResponse being evaluated in this ScenarioRunResult. |
Model |
Gets or sets the response being evaluated in this ScenarioRunResult. |
Scenario |
Gets or sets the ScenarioName. |
Contains |
Returns |
Toode | Versioonid |
---|---|
.NET | 8 (package-provided), 9 (package-provided), 10 (package-provided) |
.NET Standard | 2.0 (package-provided) |
Toote „.NET“ tagasiside
.NET on avatud lähtekoodiga projekt. Tagasiside andmiseks valige link: