Discovery Engine V1BETA API - Class Google::Cloud::DiscoveryEngine::V1beta::Answer::Reference::UnstructuredDocumentInfo::ChunkContent (v0.17.0)

Reference documentation and code samples for the Discovery Engine V1BETA API class Google::Cloud::DiscoveryEngine::V1beta::Answer::Reference::UnstructuredDocumentInfo::ChunkContent.

Chunk content.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#content

def content() -> ::String
Returns
  • (::String) — Chunk textual content.

#content=

def content=(value) -> ::String
Parameter
  • value (::String) — Chunk textual content.
Returns
  • (::String) — Chunk textual 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.

#relevance_score

def relevance_score() -> ::Float
Returns
  • (::Float) — The relevance of the chunk for a given query. Values range from 0.0 (completely irrelevant) to 1.0 (completely relevant). This value is for informational purpose only. It may change for the same query and chunk at any time due to a model retraining or change in implementation.

#relevance_score=

def relevance_score=(value) -> ::Float
Parameter
  • value (::Float) — The relevance of the chunk for a given query. Values range from 0.0 (completely irrelevant) to 1.0 (completely relevant). This value is for informational purpose only. It may change for the same query and chunk at any time due to a model retraining or change in implementation.
Returns
  • (::Float) — The relevance of the chunk for a given query. Values range from 0.0 (completely irrelevant) to 1.0 (completely relevant). This value is for informational purpose only. It may change for the same query and chunk at any time due to a model retraining or change in implementation.