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_v1beta.types.Answer.Step.Action.Observation.SearchResult.SnippetInfo]
If citation_type is DOCUMENT_LEVEL_CITATION, populate document level snippets. |
chunk_info |
MutableSequence[google.cloud.discoveryengine_v1beta.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)
Chunk information.
.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields
SnippetInfo
SnippetInfo(mapping=None, *, ignore_unknown_fields=False, **kwargs)
Snippet information.