Class EvaluationGoldenExpectation
Represents a single, checkable requirement.
Implements
Inherited Members
Namespace: Google.Apis.CustomerEngagementSuite.v1beta.Data
Assembly: Google.Apis.CustomerEngagementSuite.v1beta.dll
Syntax
public class EvaluationGoldenExpectation : IDirectResponseSchema
Properties
AgentResponse
Optional. Check that the agent responded with the correct response. The role "agent" is implied.
Declaration
[JsonProperty("agentResponse")]
public virtual Message AgentResponse { get; set; }
Property Value
| Type | Description |
|---|---|
| Message |
AgentTransfer
Optional. Check that the agent transferred the conversation to a different agent.
Declaration
[JsonProperty("agentTransfer")]
public virtual AgentTransfer AgentTransfer { get; set; }
Property Value
| Type | Description |
|---|---|
| AgentTransfer |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
MockToolResponse
Optional. The tool response to mock, with the parameters of interest specified. Any parameters not specified will be hallucinated by the LLM.
Declaration
[JsonProperty("mockToolResponse")]
public virtual ToolResponse MockToolResponse { get; set; }
Property Value
| Type | Description |
|---|---|
| ToolResponse |
Note
Optional. A note for this requirement, useful in reporting when specific checks fail. E.g., "Check_Payment_Tool_Called".
Declaration
[JsonProperty("note")]
public virtual string Note { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
ToolCall
Optional. Check that a specific tool was called with the parameters.
Declaration
[JsonProperty("toolCall")]
public virtual ToolCall ToolCall { get; set; }
Property Value
| Type | Description |
|---|---|
| ToolCall |
ToolResponse
Optional. Check that a specific tool had the expected response.
Declaration
[JsonProperty("toolResponse")]
public virtual ToolResponse ToolResponse { get; set; }
Property Value
| Type | Description |
|---|---|
| ToolResponse |
UpdatedVariables
Optional. Check that the agent updated the session variables to the expected values. Used to also capture agent variable updates for golden evals.
Declaration
[JsonProperty("updatedVariables")]
public virtual IDictionary<string, object> UpdatedVariables { get; set; }
Property Value
| Type | Description |
|---|---|
| IDictionary<string, object> |