EvaluationExpectation(mapping=None, *, ignore_unknown_fields=False, **kwargs)An evaluation expectation represents a specific criteria to evaluate against.
.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields
Attributes |
|
|---|---|
| Name | Description |
llm_criteria |
google.cloud.ces_v1beta.types.EvaluationExpectation.LlmCriteria
Optional. Evaluation criteria based on an LLM prompt. This field is a member of oneof_ criteria.
|
name |
str
Identifier. The unique identifier of this evaluation expectation. Format: projects/{project}/locations/{location}/apps/{app}/evaluationExpectations/{evaluation_expectation}
|
display_name |
str
Required. User-defined display name. Must be unique within the app. |
tags |
MutableSequence[str]
Optional. User-defined tags for expectations. Can be used to filter expectations. |
create_time |
google.protobuf.timestamp_pb2.Timestamp
Output only. Timestamp when the evaluation expectation was created. |
update_time |
google.protobuf.timestamp_pb2.Timestamp
Output only. Timestamp when the evaluation expectation was last updated. |
etag |
str
Output only. Etag used to ensure the object hasn't changed during a read-modify-write operation. If the etag is empty, the update will overwrite any concurrent changes. |
Classes
LlmCriteria
LlmCriteria(mapping=None, *, ignore_unknown_fields=False, **kwargs)Configuration for LLM-based evaluation criteria.