Class: Google::Cloud::Dialogflow::V2::AssistQueryParameters

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

Overview

Represents the parameters of human assist query.

Defined Under Namespace

Classes: DocumentsMetadataFiltersEntry

Instance Attribute Summary collapse

Instance Attribute Details

#documents_metadata_filters::Google::Protobuf::Map{::String => ::String}

Returns Key-value filters on the metadata of documents returned by article suggestion. If specified, article suggestion only returns suggested documents that match all filters in their Document.metadata. Multiple values for a metadata key should be concatenated by comma. For example, filters to match all documents that have 'US' or 'CA' in their market metadata values and 'agent' in their user metadata values will be

 {
  key: "market"
  value: "US,CA"
}
 {
  key: "user"
  value: "agent"
}
```.

Returns:

  • (::Google::Protobuf::Map{::String => ::String})

    Key-value filters on the metadata of documents returned by article suggestion. If specified, article suggestion only returns suggested documents that match all filters in their Document.metadata. Multiple values for a metadata key should be concatenated by comma. For example, filters to match all documents that have 'US' or 'CA' in their market metadata values and 'agent' in their user metadata values will be

     {
      key: "market"
      value: "US,CA"
    }
     {
      key: "user"
      value: "agent"
    }
    


678
679
680
681
682
683
684
685
686
687
688
689
690
# File 'proto_docs/google/cloud/dialogflow/v2/participant.rb', line 678

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

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class DocumentsMetadataFiltersEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end