Class SearchResult (0.11.11)

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

Attributes

Name Description
document str
Document resource name.
uri str
URI for the document.
title str
Title.
snippet_info MutableSequence[google.cloud.discoveryengine_v1alpha.types.Answer.Step.Action.Observation.SearchResult.SnippetInfo]
If citation_type is DOCUMENT_LEVEL_CITATION, populate document level snippets.
chunk_info MutableSequence[google.cloud.discoveryengine_v1alpha.types.Answer.Step.Action.Observation.SearchResult.ChunkInfo]
If citation_type is CHUNK_LEVEL_CITATION and chunk mode is on, populate chunk info.

Classes

ChunkInfo

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

SnippetInfo

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

Snippet information.