Class EvaluationScenario
The config for a scenario
Implements
Inherited Members
Namespace: Google.Apis.CustomerEngagementSuite.v1beta.Data
Assembly: Google.Apis.CustomerEngagementSuite.v1beta.dll
Syntax
public class EvaluationScenario : IDirectResponseSchema
Properties
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
EvaluationExpectations
Optional. The evaluation expectations to evaluate the conversation produced by the simulation against.
Format: projects/{project}/locations/{location}/apps/{app}/evaluationExpectations/{evaluationExpectation}
Declaration
[JsonProperty("evaluationExpectations")]
public virtual IList<string> EvaluationExpectations { get; set; }
Property Value
| Type | Description |
|---|---|
| IList<string> |
MaxTurns
Optional. The maximum number of turns to simulate. If not specified, the simulation will continue until the task is complete.
Declaration
[JsonProperty("maxTurns")]
public virtual int? MaxTurns { get; set; }
Property Value
| Type | Description |
|---|---|
| int? |
Rubrics
Required. The rubrics to score the scenario against.
Declaration
[JsonProperty("rubrics")]
public virtual IList<string> Rubrics { get; set; }
Property Value
| Type | Description |
|---|---|
| IList<string> |
ScenarioExpectations
Required. The ScenarioExpectations to evaluate the conversation produced by the user simulation.
Declaration
[JsonProperty("scenarioExpectations")]
public virtual IList<EvaluationScenarioExpectation> ScenarioExpectations { get; set; }
Property Value
| Type | Description |
|---|---|
| IList<EvaluationScenarioExpectation> |
Task
Required. The task to be targeted by the scenario.
Declaration
[JsonProperty("task")]
public virtual string Task { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
TaskCompletionBehavior
Optional. Deprecated. Use user_goal_behavior instead.
Declaration
[JsonProperty("taskCompletionBehavior")]
public virtual string TaskCompletionBehavior { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
UserFacts
Optional. The user facts to be used by the scenario.
Declaration
[JsonProperty("userFacts")]
public virtual IList<EvaluationScenarioUserFact> UserFacts { get; set; }
Property Value
| Type | Description |
|---|---|
| IList<EvaluationScenarioUserFact> |
UserGoalBehavior
Optional. The expected behavior of the user goal.
Declaration
[JsonProperty("userGoalBehavior")]
public virtual string UserGoalBehavior { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
VariableOverrides
Optional. Variables / Session Parameters as context for the session, keyed by variable names. Members of this struct will override any default values set by the system. Note, these are different from user facts, which are facts known to the user. Variables are parameters known to the agent: i.e. MDN (phone number) passed by the telephony system.
Declaration
[JsonProperty("variableOverrides")]
public virtual IDictionary<string, object> VariableOverrides { get; set; }
Property Value
| Type | Description |
|---|---|
| IDictionary<string, object> |