Reference documentation and code samples for the Gemini Enterprise for Customer Experience V1BETA API class Google::Cloud::Ces::V1beta::EvaluationExpectation.
An evaluation expectation represents a specific criteria to evaluate against.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#create_time
def create_time() -> ::Google::Protobuf::Timestamp
Returns
- (::Google::Protobuf::Timestamp) — Output only. Timestamp when the evaluation expectation was created.
#display_name
def display_name() -> ::String
Returns
- (::String) — Required. User-defined display name. Must be unique within the app.
#display_name=
def display_name=(value) -> ::String
Parameter
- value (::String) — Required. User-defined display name. Must be unique within the app.
Returns
- (::String) — Required. User-defined display name. Must be unique within the app.
#etag
def etag() -> ::String
Returns
- (::String) — 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.
#llm_criteria
def llm_criteria() -> ::Google::Cloud::Ces::V1beta::EvaluationExpectation::LlmCriteria
Returns
- (::Google::Cloud::Ces::V1beta::EvaluationExpectation::LlmCriteria) — Optional. Evaluation criteria based on an LLM prompt.
#llm_criteria=
def llm_criteria=(value) -> ::Google::Cloud::Ces::V1beta::EvaluationExpectation::LlmCriteria
Parameter
- value (::Google::Cloud::Ces::V1beta::EvaluationExpectation::LlmCriteria) — Optional. Evaluation criteria based on an LLM prompt.
Returns
- (::Google::Cloud::Ces::V1beta::EvaluationExpectation::LlmCriteria) — Optional. Evaluation criteria based on an LLM prompt.
#name
def name() -> ::String
Returns
-
(::String) — Identifier. The unique identifier of this evaluation expectation.
Format:
projects/{project}/locations/{location}/apps/{app}/evaluationExpectations/{evaluation_expectation}
#name=
def name=(value) -> ::String
Parameter
-
value (::String) — Identifier. The unique identifier of this evaluation expectation.
Format:
projects/{project}/locations/{location}/apps/{app}/evaluationExpectations/{evaluation_expectation}
Returns
-
(::String) — Identifier. The unique identifier of this evaluation expectation.
Format:
projects/{project}/locations/{location}/apps/{app}/evaluationExpectations/{evaluation_expectation}
#tags
def tags() -> ::Array<::String>
Returns
- (::Array<::String>) — Optional. User-defined tags for expectations. Can be used to filter expectations.
#tags=
def tags=(value) -> ::Array<::String>
Parameter
- value (::Array<::String>) — Optional. User-defined tags for expectations. Can be used to filter expectations.
Returns
- (::Array<::String>) — Optional. User-defined tags for expectations. Can be used to filter expectations.
#update_time
def update_time() -> ::Google::Protobuf::Timestamp
Returns
- (::Google::Protobuf::Timestamp) — Output only. Timestamp when the evaluation expectation was last updated.