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_chunksfield 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_chunksfield 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_chunksfield 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
- (::Google::Cloud::Dialogflow::V2::Segment) — Optional. Segment of the content this support belongs to.
#segment=
def segment=(value) -> ::Google::Cloud::Dialogflow::V2::Segment
Parameter
- value (::Google::Cloud::Dialogflow::V2::Segment) — Optional. Segment of the content this support belongs to.
Returns
- (::Google::Cloud::Dialogflow::V2::Segment) — Optional. Segment of the content this support belongs to.