Class: Google::Cloud::ContactCenterInsights::V1::RuntimeAnnotation::UserInput

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/contactcenterinsights/v1/resources.rb

Overview

Explicit input used for generating the answer

Defined Under Namespace

Modules: QuerySource

Instance Attribute Summary collapse

Instance Attribute Details

#generator_name::String

Returns The resource name of associated generator. Format: projects/<Project ID>/locations/<Location ID>/generators/<Generator ID>.

Returns:

  • (::String)

    The resource name of associated generator. Format: projects/<Project ID>/locations/<Location ID>/generators/<Generator ID>



1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
# File 'proto_docs/google/cloud/contactcenterinsights/v1/resources.rb', line 1235

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

  # The source of the query.
  module QuerySource
    # Unknown query source.
    QUERY_SOURCE_UNSPECIFIED = 0

    # The query is from agents.
    AGENT_QUERY = 1

    # The query is a query from previous suggestions, e.g. from a preceding
    # SuggestKnowledgeAssist response.
    SUGGESTED_QUERY = 2
  end
end

#query::String

Returns Query text. Article Search uses this to store the input query used to generate the search results.

Returns:

  • (::String)

    Query text. Article Search uses this to store the input query used to generate the search results.



1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
# File 'proto_docs/google/cloud/contactcenterinsights/v1/resources.rb', line 1235

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

  # The source of the query.
  module QuerySource
    # Unknown query source.
    QUERY_SOURCE_UNSPECIFIED = 0

    # The query is from agents.
    AGENT_QUERY = 1

    # The query is a query from previous suggestions, e.g. from a preceding
    # SuggestKnowledgeAssist response.
    SUGGESTED_QUERY = 2
  end
end

#query_source::Google::Cloud::ContactCenterInsights::V1::RuntimeAnnotation::UserInput::QuerySource

Returns Query source for the answer.



1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
# File 'proto_docs/google/cloud/contactcenterinsights/v1/resources.rb', line 1235

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

  # The source of the query.
  module QuerySource
    # Unknown query source.
    QUERY_SOURCE_UNSPECIFIED = 0

    # The query is from agents.
    AGENT_QUERY = 1

    # The query is a query from previous suggestions, e.g. from a preceding
    # SuggestKnowledgeAssist response.
    SUGGESTED_QUERY = 2
  end
end