Class: Google::Cloud::DiscoveryEngine::V1::Answer::GroundingSupport
- Inherits:
-
Object
- Object
- Google::Cloud::DiscoveryEngine::V1::Answer::GroundingSupport
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/discoveryengine/v1/answer.rb
Overview
Grounding support for a claim in answer_text
.
Instance Attribute Summary collapse
-
#end_index ⇒ ::Integer
Required.
-
#grounding_check_required ⇒ ::Boolean
Indicates that this claim required grounding check.
-
#grounding_score ⇒ ::Float
A score in the range of [0, 1] describing how grounded is a specific claim by the references.
-
#sources ⇒ ::Array<::Google::Cloud::DiscoveryEngine::V1::Answer::CitationSource>
Optional.
-
#start_index ⇒ ::Integer
Required.
Instance Attribute Details
#end_index ⇒ ::Integer
Returns Required. End of the claim, exclusive.
126 127 128 129 |
# File 'proto_docs/google/cloud/discoveryengine/v1/answer.rb', line 126 class GroundingSupport include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#grounding_check_required ⇒ ::Boolean
Indicates that this claim required grounding check. When the
system decided this claim didn't require attribution/grounding check,
this field is set to false. In that case, no grounding check was
done for the claim and therefore grounding_score
, sources
is not
returned.
126 127 128 129 |
# File 'proto_docs/google/cloud/discoveryengine/v1/answer.rb', line 126 class GroundingSupport include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#grounding_score ⇒ ::Float
Returns A score in the range of [0, 1] describing how grounded is a specific claim by the references. Higher value means that the claim is better supported by the reference chunks.
126 127 128 129 |
# File 'proto_docs/google/cloud/discoveryengine/v1/answer.rb', line 126 class GroundingSupport include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#sources ⇒ ::Array<::Google::Cloud::DiscoveryEngine::V1::Answer::CitationSource>
Returns Optional. Citation sources for the claim.
126 127 128 129 |
# File 'proto_docs/google/cloud/discoveryengine/v1/answer.rb', line 126 class GroundingSupport include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#start_index ⇒ ::Integer
Returns Required. Index indicates the start of the claim, measured in bytes (UTF-8 unicode).
126 127 128 129 |
# File 'proto_docs/google/cloud/discoveryengine/v1/answer.rb', line 126 class GroundingSupport include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |