Class: Google::Cloud::DataQnA::V1alpha::Interpretation
- Inherits:
-
Object
- Object
- Google::Cloud::DataQnA::V1alpha::Interpretation
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/dataqna/v1alpha/question.rb
Overview
An interpretation of a natural language query.
Instance Attribute Summary collapse
-
#confidence ⇒ ::Float
The level of confidence that one of the interpretations is correct.
-
#data_query ⇒ ::Google::Cloud::DataQnA::V1alpha::DataQuery
Representation of the data query to be sent to the backend.
-
#data_sources ⇒ ::Array<::String>
List of data sources used in the current understanding.
-
#execution_info ⇒ ::Google::Cloud::DataQnA::V1alpha::ExecutionInfo
Information about the backend response.
-
#human_readable ⇒ ::Google::Cloud::DataQnA::V1alpha::HumanReadable
Human readable representation of the query.
-
#interpretation_structure ⇒ ::Google::Cloud::DataQnA::V1alpha::InterpretationStructure
Information about the interpretation structure that helps to understand and visualize the response.
-
#unused_phrases ⇒ ::Array<::String>
A list of unused phrases.
Instance Attribute Details
#confidence ⇒ ::Float
Returns The level of confidence that one of the interpretations is correct. This is a value in the range [0, 1] where a value of 0.5 or below is to be considered a low confidence.
239 240 241 242 |
# File 'proto_docs/google/cloud/dataqna/v1alpha/question.rb', line 239 class Interpretation include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#data_query ⇒ ::Google::Cloud::DataQnA::V1alpha::DataQuery
Returns Representation of the data query to be sent to the backend.
239 240 241 242 |
# File 'proto_docs/google/cloud/dataqna/v1alpha/question.rb', line 239 class Interpretation include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#data_sources ⇒ ::Array<::String>
Returns List of data sources used in the current understanding.
239 240 241 242 |
# File 'proto_docs/google/cloud/dataqna/v1alpha/question.rb', line 239 class Interpretation include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#execution_info ⇒ ::Google::Cloud::DataQnA::V1alpha::ExecutionInfo
Returns Information about the backend response. This is populated only if execution of an interpretation was requested.
239 240 241 242 |
# File 'proto_docs/google/cloud/dataqna/v1alpha/question.rb', line 239 class Interpretation include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#human_readable ⇒ ::Google::Cloud::DataQnA::V1alpha::HumanReadable
Returns Human readable representation of the query.
239 240 241 242 |
# File 'proto_docs/google/cloud/dataqna/v1alpha/question.rb', line 239 class Interpretation include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#interpretation_structure ⇒ ::Google::Cloud::DataQnA::V1alpha::InterpretationStructure
Returns Information about the interpretation structure that helps to understand and visualize the response.
239 240 241 242 |
# File 'proto_docs/google/cloud/dataqna/v1alpha/question.rb', line 239 class Interpretation include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#unused_phrases ⇒ ::Array<::String>
Returns A list of unused phrases. Clients should display a Did You Mean (DYM) dialog if this is non-empty, even if this is the only interpretation.
239 240 241 242 |
# File 'proto_docs/google/cloud/dataqna/v1alpha/question.rb', line 239 class Interpretation include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |