AssistAnswer(mapping=None, *, ignore_unknown_fields=False, **kwargs)AssistAnswer resource, main part of AssistResponse.
Attributes |
|
|---|---|
| Name | Description |
name |
str
Immutable. Identifier. Resource name of the AssistAnswer. Format:
projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}/assistAnswers/{assist_answer}
This field must be a UTF-8 encoded string with a length
limit of 1024 characters.
|
state |
google.cloud.discoveryengine_v1beta.types.AssistAnswer.State
State of the answer generation. |
replies |
MutableSequence[google.cloud.discoveryengine_v1beta.types.AssistAnswer.Reply]
Replies of the assistant. |
assist_skipped_reasons |
MutableSequence[google.cloud.discoveryengine_v1beta.types.AssistAnswer.AssistSkippedReason]
Reasons for not answering the assist call. |
customer_policy_enforcement_result |
google.cloud.discoveryengine_v1beta.types.AssistAnswer.CustomerPolicyEnforcementResult
Optional. The field contains information about the various policy checks' results like the banned phrases or the Model Armor checks. This field is populated only if the assist call was skipped due to a policy violation. |
Classes
AssistSkippedReason
AssistSkippedReason(value)Possible reasons for not answering an assist call.
CustomerPolicyEnforcementResult
CustomerPolicyEnforcementResult(
mapping=None, *, ignore_unknown_fields=False, **kwargs
)Customer policy enforcement results. Contains the results of the various policy checks, like the banned phrases or the Model Armor checks.
Reply
Reply(mapping=None, *, ignore_unknown_fields=False, **kwargs)One part of the multi-part response of the assist call.
.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields
State
State(value)State of the answer generation.