Class Turn (0.12.3)

Turn(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Represents a turn, including a query from the user and a answer from service.

Attributes

Name Description
query google.cloud.discoveryengine_v1alpha.types.Query
The user query.
answer str
The resource name of the answer to the user query. Only set if the answer generation (/answer API call) happened in this turn.