Dialogflow V2 API - Class Google::Cloud::Dialogflow::V2::GroundingSupport (v1.18.0)

Reference documentation and code samples for the Dialogflow V2 API class Google::Cloud::Dialogflow::V2::GroundingSupport.

A collection of supporting references for a segment or part of the model's response.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#grounding_chunk_indices

def grounding_chunk_indices() -> ::Array<::Integer>
Returns
  • (::Array<::Integer>) — Optional. A list of indices into grounding_chunks field specifying the citations associated with the claim. For instance [1, 3] means that grounding_chunks[1] and grounding_chunks[3] are the retrieved contents attributed to the claim.

#grounding_chunk_indices=

def grounding_chunk_indices=(value) -> ::Array<::Integer>
Parameter
  • value (::Array<::Integer>) — Optional. A list of indices into grounding_chunks field specifying the citations associated with the claim. For instance [1, 3] means that grounding_chunks[1] and grounding_chunks[3] are the retrieved contents attributed to the claim.
Returns
  • (::Array<::Integer>) — Optional. A list of indices into grounding_chunks field specifying the citations associated with the claim. For instance [1, 3] means that grounding_chunks[1] and grounding_chunks[3] are the retrieved contents attributed to the claim.

#segment

def segment() -> ::Google::Cloud::Dialogflow::V2::Segment
Returns

#segment=

def segment=(value) -> ::Google::Cloud::Dialogflow::V2::Segment
Parameter
Returns