- Resource: EvaluationCaseResult
- Status
- MatcherResult
- OrderResultMatcherResult
- AgentUtteranceStringMatcherResult
- LLMJudgementMatcherResult
- Methods
Resource: EvaluationCaseResult
An evaluation case result.
| JSON representation |
|---|
{ "name": string, "evaluationCase": { object ( |
| Fields | |
|---|---|
name |
Identifier. The resource name of the evaluation case result. Format: projects/{project}/locations/{location}/brands/{brand}/evaluationCaseResults/{evaluation_case_result} |
evaluationCase |
Output only. The evaluation case this result is associated with. |
evaluationContext |
Output only. The evaluation context this result is associated with. |
evaluationDataset |
Output only. The evaluation dataset reference this result is associated with. If not set, it means the test case is run as a standalone test, not as part of an evaluation dataset. Format: projects/{project}/locations/{location}/brands/{brand}/evaluationDatasets/{evaluationDataset} |
sessionRecord |
Output only. The resource name of the session record this result is associated with. Format: projects/{project}/locations/{location}/brands/{brand}/sessionRecords/{sessionRecord} |
status |
Output only. The status of the evaluation case. |
matcherResults[] |
Output only. The list of evaluation matcher results for the evaluation case. The results of the evaluation matchers. |
Status
The status of the evaluation case.
| Enums | |
|---|---|
STATUS_UNSPECIFIED |
Invalid status. |
PASS |
All the evaluation matchers are satisfied. |
FAIL |
At least one of the evaluation matchers is not satisfied. |
ERROR |
There was an error that the BidiProcessOrder session terminated unexpectedly and the evaluation could not be completed. |
MatcherResult
A result of an evaluation matcher.
| JSON representation |
|---|
{ "evaluationMatcher": { object ( |
| Fields | |
|---|---|
evaluationMatcher |
Output only. The evaluation matcher this result is associated with. |
Union field result. The result of the evaluation matcher. result can be only one of the following: |
|
orderResultMatcherResult |
Output only. The result of an order result matcher. |
agentUtteranceStringMatcherResult |
Output only. The result of an agent utterance string matcher. |
llmJudgementMatcherResult |
Output only. The result of an agent utterance LLM judgement matcher. |
OrderResultMatcherResult
A result of an order result matcher.
| JSON representation |
|---|
{ "match": boolean, "difference": string } |
| Fields | |
|---|---|
match |
Output only. Whether the order result matcher passed or not. |
difference |
Output only. The pretty printed difference between the expected order and the actual order in the order result matcher in the (-want +got) format. |
AgentUtteranceStringMatcherResult
A result of an agent utterance string matcher.
| JSON representation |
|---|
{ "match": boolean } |
| Fields | |
|---|---|
match |
Output only. Whether the agent utterance string matcher passed or not. |
LLMJudgementMatcherResult
A result of an agent utterance LLM judgement matcher.
| JSON representation |
|---|
{ "match": boolean } |
| Fields | |
|---|---|
match |
Output only. Whether the agent utterance LLM judgement matcher passed or not. |
Methods |
|
|---|---|
|
Deletes the specified EvaluationCaseResult. |
|
Gets an EvaluationCaseResult. |
|
Lists EvaluationCaseResults. |