Class ConversationInfo (0.20.6)

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

The conversation information such as the question index and session name.

Attributes

Name Description
question_index int
The index of the user input within the conversation messages.
session str
Name of the newly generated or continued session.
query google.cloud.discoveryengine_v1.types.Query
Required. The user's search query.
assist_token str
Optional. The token which could be used to fetch the assistant log.
answer_query_token str
Optional. The token which could be used to fetch the answer log.
task_name str
Optional. The full resource name of the Sobi task if the conversation was handled by a long-running agent task. Format (canonical, or the short alias the Task API also accepts): projects/{project}/locations/{location}/agents/{agent}/tasks/{task} projects/{project}/locations/{location}/tasks/{task}
trajectory_id str
Optional. The runtime trajectory id of the rated agent task turn, as set on TaskServerEvent.trajectory_id. Shared by all steps of the turn.
step_seq_num int
Optional. The TaskServerEvent.seq_num of the step that opened the rated agent task reply.