Reference documentation and code samples for the Gemini Enterprise for Customer Experience V1BETA API class Google::Cloud::Ces::V1beta::EvaluationPersona.
A persona represents an end user in an evaluation.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#description
def description() -> ::String
Returns
- (::String) — Optional. The description of the persona.
#description=
def description=(value) -> ::String
Parameter
- value (::String) — Optional. The description of the persona.
Returns
- (::String) — Optional. The description of the persona.
#display_name
def display_name() -> ::String
Returns
- (::String) — Required. The display name of the persona. Unique within an app.
#display_name=
def display_name=(value) -> ::String
Parameter
- value (::String) — Required. The display name of the persona. Unique within an app.
Returns
- (::String) — Required. The display name of the persona. Unique within an app.
#name
def name() -> ::String
Returns
-
(::String) — Required. The unique identifier of the persona.
Format:
projects/{project}/locations/{location}/apps/{app}/evaluationPersonas/{evaluationPersona}
#name=
def name=(value) -> ::String
Parameter
-
value (::String) — Required. The unique identifier of the persona.
Format:
projects/{project}/locations/{location}/apps/{app}/evaluationPersonas/{evaluationPersona}
Returns
-
(::String) — Required. The unique identifier of the persona.
Format:
projects/{project}/locations/{location}/apps/{app}/evaluationPersonas/{evaluationPersona}
#personality
def personality() -> ::String
Returns
- (::String) — Required. An instruction for the agent on how to behave in the evaluation.
#personality=
def personality=(value) -> ::String
Parameter
- value (::String) — Required. An instruction for the agent on how to behave in the evaluation.
Returns
- (::String) — Required. An instruction for the agent on how to behave in the evaluation.
#speech_config
def speech_config() -> ::Google::Cloud::Ces::V1beta::EvaluationPersona::SpeechConfig
Returns
- (::Google::Cloud::Ces::V1beta::EvaluationPersona::SpeechConfig) — Optional. Configuration for how the persona sounds (TTS settings).
#speech_config=
def speech_config=(value) -> ::Google::Cloud::Ces::V1beta::EvaluationPersona::SpeechConfig
Parameter
- value (::Google::Cloud::Ces::V1beta::EvaluationPersona::SpeechConfig) — Optional. Configuration for how the persona sounds (TTS settings).
Returns
- (::Google::Cloud::Ces::V1beta::EvaluationPersona::SpeechConfig) — Optional. Configuration for how the persona sounds (TTS settings).