Discovery Engine V1BETA API - Class Google::Cloud::DiscoveryEngine::V1beta::AnswerQueryRequest::GroundingSpec (v0.17.0)

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
Returns

#filtering_level=

def filtering_level=(value) -> ::Google::Cloud::DiscoveryEngine::V1beta::AnswerQueryRequest::GroundingSpec::FilteringLevel
Parameter
Returns

#include_grounding_supports

def include_grounding_supports() -> ::Boolean
Returns
  • (::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 have grounding_score and will contain GroundingSupports for each claim.

#include_grounding_supports=

def include_grounding_supports=(value) -> ::Boolean
Parameter
  • 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 have grounding_score and will contain GroundingSupports for each claim.

Returns
  • (::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 have grounding_score and will contain GroundingSupports for each claim.