Class: Google::Cloud::DiscoveryEngine::V1beta::CheckGroundingRequest

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/discoveryengine/v1beta/grounded_generation_service.rb

Overview

Request message for GroundedGenerationService.CheckGrounding method.

Instance Attribute Summary collapse

Instance Attribute Details

#answer_candidate::String

Returns Answer candidate to check.

Returns:

  • (::String)

    Answer candidate to check.



54
55
56
57
# File 'proto_docs/google/cloud/discoveryengine/v1beta/grounded_generation_service.rb', line 54

class CheckGroundingRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#facts::Array<::Google::Cloud::DiscoveryEngine::V1beta::GroundingFact>

Returns List of facts for the grounding check. We support up to 200 facts.

Returns:



54
55
56
57
# File 'proto_docs/google/cloud/discoveryengine/v1beta/grounded_generation_service.rb', line 54

class CheckGroundingRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#grounding_config::String

Returns Required. The resource name of the grounding config, such as projects/*/locations/global/groundingConfigs/default_grounding_config.

Returns:

  • (::String)

    Required. The resource name of the grounding config, such as projects/*/locations/global/groundingConfigs/default_grounding_config.



54
55
56
57
# File 'proto_docs/google/cloud/discoveryengine/v1beta/grounded_generation_service.rb', line 54

class CheckGroundingRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#grounding_spec::Google::Cloud::DiscoveryEngine::V1beta::CheckGroundingSpec

Returns Configuration of the grounding check.

Returns:



54
55
56
57
# File 'proto_docs/google/cloud/discoveryengine/v1beta/grounded_generation_service.rb', line 54

class CheckGroundingRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end