Reference documentation and code samples for the Discovery Engine V1BETA API class Google::Cloud::DiscoveryEngine::V1beta::AnswerQueryRequest::GroundingSpec.
Grounding specification.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#filtering_level
def filtering_level() -> ::Google::Cloud::DiscoveryEngine::V1beta::AnswerQueryRequest::GroundingSpec::FilteringLevel- (::Google::Cloud::DiscoveryEngine::V1beta::AnswerQueryRequest::GroundingSpec::FilteringLevel) — Optional. Specifies whether to enable the filtering based on grounding score and at what level.
#filtering_level=
def filtering_level=(value) -> ::Google::Cloud::DiscoveryEngine::V1beta::AnswerQueryRequest::GroundingSpec::FilteringLevel- value (::Google::Cloud::DiscoveryEngine::V1beta::AnswerQueryRequest::GroundingSpec::FilteringLevel) — Optional. Specifies whether to enable the filtering based on grounding score and at what level.
- (::Google::Cloud::DiscoveryEngine::V1beta::AnswerQueryRequest::GroundingSpec::FilteringLevel) — Optional. Specifies whether to enable the filtering based on grounding score and at what level.
#include_grounding_supports
def include_grounding_supports() -> ::Boolean-
(::Boolean) — Optional. Specifies whether to include grounding_supports in the answer.
The default value is
false.When this field is set to
true, returned answer will havegrounding_scoreand will contain GroundingSupports for each claim.
#include_grounding_supports=
def include_grounding_supports=(value) -> ::Boolean-
value (::Boolean) — Optional. Specifies whether to include grounding_supports in the answer.
The default value is
false.When this field is set to
true, returned answer will havegrounding_scoreand will contain GroundingSupports for each claim.
-
(::Boolean) — Optional. Specifies whether to include grounding_supports in the answer.
The default value is
false.When this field is set to
true, returned answer will havegrounding_scoreand will contain GroundingSupports for each claim.