Class: Google::Cloud::Dialogflow::CX::V3::DataStoreConnectionSignals::GroundingSignals

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/dialogflow/cx/v3/data_store_connection.rb

Overview

Grounding signals.

Defined Under Namespace

Modules: GroundingDecision, GroundingScoreBucket

Instance Attribute Summary collapse

Instance Attribute Details

#decision::Google::Cloud::Dialogflow::CX::V3::DataStoreConnectionSignals::GroundingSignals::GroundingDecision

Returns Represents the decision of the grounding check.



157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
# File 'proto_docs/google/cloud/dialogflow/cx/v3/data_store_connection.rb', line 157

class GroundingSignals
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Represents the decision of the grounding check.
  module GroundingDecision
    # Decision not specified.
    GROUNDING_DECISION_UNSPECIFIED = 0

    # Grounding have accepted the answer.
    ACCEPTED_BY_GROUNDING = 1

    # Grounding have rejected the answer.
    REJECTED_BY_GROUNDING = 2
  end

  # Grounding score buckets.
  module GroundingScoreBucket
    # Score not specified.
    GROUNDING_SCORE_BUCKET_UNSPECIFIED = 0

    # We have very low confidence that the answer is grounded.
    VERY_LOW = 1

    # We have low confidence that the answer is grounded.
    LOW = 3

    # We have medium confidence that the answer is grounded.
    MEDIUM = 4

    # We have high confidence that the answer is grounded.
    HIGH = 5

    # We have very high confidence that the answer is grounded.
    VERY_HIGH = 6
  end
end

#score::Google::Cloud::Dialogflow::CX::V3::DataStoreConnectionSignals::GroundingSignals::GroundingScoreBucket

Returns Grounding score bucket setting.



157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
# File 'proto_docs/google/cloud/dialogflow/cx/v3/data_store_connection.rb', line 157

class GroundingSignals
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Represents the decision of the grounding check.
  module GroundingDecision
    # Decision not specified.
    GROUNDING_DECISION_UNSPECIFIED = 0

    # Grounding have accepted the answer.
    ACCEPTED_BY_GROUNDING = 1

    # Grounding have rejected the answer.
    REJECTED_BY_GROUNDING = 2
  end

  # Grounding score buckets.
  module GroundingScoreBucket
    # Score not specified.
    GROUNDING_SCORE_BUCKET_UNSPECIFIED = 0

    # We have very low confidence that the answer is grounded.
    VERY_LOW = 1

    # We have low confidence that the answer is grounded.
    LOW = 3

    # We have medium confidence that the answer is grounded.
    MEDIUM = 4

    # We have high confidence that the answer is grounded.
    HIGH = 5

    # We have very high confidence that the answer is grounded.
    VERY_HIGH = 6
  end
end