Gemini Enterprise for Customer Experience V1BETA API - Class Google::Cloud::Ces::V1beta::EvaluationExpectation (v0.1.0)

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

#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

#llm_criteria=

def llm_criteria=(value) -> ::Google::Cloud::Ces::V1beta::EvaluationExpectation::LlmCriteria
Parameter
Returns

#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