Class SessionInfo (0.13.5)

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

Information about the session.

Attributes

Name Description
name str
Name of the session. If the auto-session mode is used (when SearchRequest.session ends with "-"), this field holds the newly generated session name.
query_id str
Query ID that corresponds to this search API call. One session can have multiple turns, each with a unique query ID. By specifying the session name and this query ID in the Answer API call, the answer generation happens in the context of the search results from this search call.