Discovery Engine V1BETA API - Class Google::Cloud::DiscoveryEngine::V1beta::AnswerQueryRequest::SearchSpec::SearchResultList::SearchResult::UnstructuredDocumentInfo::ExtractiveSegment (v0.17.0)

Reference documentation and code samples for the Discovery Engine V1BETA API class Google::Cloud::DiscoveryEngine::V1beta::AnswerQueryRequest::SearchSpec::SearchResultList::SearchResult::UnstructuredDocumentInfo::ExtractiveSegment.

Extractive segment. Guide Answer generation will only use it if document_contexts is empty. This is supposed to be shorter snippets.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#content

def content() -> ::String
Returns
  • (::String) — Extractive segment content.

#content=

def content=(value) -> ::String
Parameter
  • value (::String) — Extractive segment content.
Returns
  • (::String) — Extractive segment content.

#page_identifier

def page_identifier() -> ::String
Returns
  • (::String) — Page identifier.

#page_identifier=

def page_identifier=(value) -> ::String
Parameter
  • value (::String) — Page identifier.
Returns
  • (::String) — Page identifier.