Class: Google::Cloud::ContactCenterInsights::V1::AnnotatorSelector

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

Overview

Selector of all available annotators and phrase matchers to run.

Defined Under Namespace

Classes: SummarizationConfig

Instance Attribute Summary collapse

Instance Attribute Details

#issue_models::Array<::String>

Returns The issue model to run. If not provided, the most recently deployed topic model will be used. The provided issue model will only be used for inference if the issue model is deployed and if run_issue_model_annotator is set to true. If more than one issue model is provided, only the first provided issue model will be used for inference.

Returns:

  • (::Array<::String>)

    The issue model to run. If not provided, the most recently deployed topic model will be used. The provided issue model will only be used for inference if the issue model is deployed and if run_issue_model_annotator is set to true. If more than one issue model is provided, only the first provided issue model will be used for inference.



1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
# File 'proto_docs/google/cloud/contactcenterinsights/v1/resources.rb', line 1602

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

  # Configuration for summarization.
  # @!attribute [rw] conversation_profile
  #   @return [::String]
  #     Resource name of the Dialogflow conversation profile.
  #     Format:
  #     projects/\\{project}/locations/\\{location}/conversationProfiles/\\{conversation_profile}
  # @!attribute [rw] summarization_model
  #   @return [::Google::Cloud::ContactCenterInsights::V1::AnnotatorSelector::SummarizationConfig::SummarizationModel]
  #     Default summarization model to be used.
  class SummarizationConfig
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # Summarization model to use, if `conversation_profile` is not used.
    module SummarizationModel
      # Unspecified summarization model.
      SUMMARIZATION_MODEL_UNSPECIFIED = 0

      # The CCAI baseline model.
      BASELINE_MODEL = 1

      # The CCAI baseline model, V2.0.
      BASELINE_MODEL_V2_0 = 2
    end
  end
end

#phrase_matchers::Array<::String>

Returns The list of phrase matchers to run. If not provided, all active phrase matchers will be used. If inactive phrase matchers are provided, they will not be used. Phrase matchers will be run only if run_phrase_matcher_annotator is set to true. Format: projects/{project}/locations/{location}/phraseMatchers/{phrase_matcher}.

Returns:

  • (::Array<::String>)

    The list of phrase matchers to run. If not provided, all active phrase matchers will be used. If inactive phrase matchers are provided, they will not be used. Phrase matchers will be run only if run_phrase_matcher_annotator is set to true. Format: projects/{project}/locations/{location}/phraseMatchers/{phrase_matcher}



1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
# File 'proto_docs/google/cloud/contactcenterinsights/v1/resources.rb', line 1602

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

  # Configuration for summarization.
  # @!attribute [rw] conversation_profile
  #   @return [::String]
  #     Resource name of the Dialogflow conversation profile.
  #     Format:
  #     projects/\\{project}/locations/\\{location}/conversationProfiles/\\{conversation_profile}
  # @!attribute [rw] summarization_model
  #   @return [::Google::Cloud::ContactCenterInsights::V1::AnnotatorSelector::SummarizationConfig::SummarizationModel]
  #     Default summarization model to be used.
  class SummarizationConfig
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # Summarization model to use, if `conversation_profile` is not used.
    module SummarizationModel
      # Unspecified summarization model.
      SUMMARIZATION_MODEL_UNSPECIFIED = 0

      # The CCAI baseline model.
      BASELINE_MODEL = 1

      # The CCAI baseline model, V2.0.
      BASELINE_MODEL_V2_0 = 2
    end
  end
end

#run_entity_annotator::Boolean

Returns Whether to run the entity annotator.

Returns:

  • (::Boolean)

    Whether to run the entity annotator.



1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
# File 'proto_docs/google/cloud/contactcenterinsights/v1/resources.rb', line 1602

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

  # Configuration for summarization.
  # @!attribute [rw] conversation_profile
  #   @return [::String]
  #     Resource name of the Dialogflow conversation profile.
  #     Format:
  #     projects/\\{project}/locations/\\{location}/conversationProfiles/\\{conversation_profile}
  # @!attribute [rw] summarization_model
  #   @return [::Google::Cloud::ContactCenterInsights::V1::AnnotatorSelector::SummarizationConfig::SummarizationModel]
  #     Default summarization model to be used.
  class SummarizationConfig
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # Summarization model to use, if `conversation_profile` is not used.
    module SummarizationModel
      # Unspecified summarization model.
      SUMMARIZATION_MODEL_UNSPECIFIED = 0

      # The CCAI baseline model.
      BASELINE_MODEL = 1

      # The CCAI baseline model, V2.0.
      BASELINE_MODEL_V2_0 = 2
    end
  end
end

#run_intent_annotator::Boolean

Returns Whether to run the intent annotator.

Returns:

  • (::Boolean)

    Whether to run the intent annotator.



1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
# File 'proto_docs/google/cloud/contactcenterinsights/v1/resources.rb', line 1602

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

  # Configuration for summarization.
  # @!attribute [rw] conversation_profile
  #   @return [::String]
  #     Resource name of the Dialogflow conversation profile.
  #     Format:
  #     projects/\\{project}/locations/\\{location}/conversationProfiles/\\{conversation_profile}
  # @!attribute [rw] summarization_model
  #   @return [::Google::Cloud::ContactCenterInsights::V1::AnnotatorSelector::SummarizationConfig::SummarizationModel]
  #     Default summarization model to be used.
  class SummarizationConfig
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # Summarization model to use, if `conversation_profile` is not used.
    module SummarizationModel
      # Unspecified summarization model.
      SUMMARIZATION_MODEL_UNSPECIFIED = 0

      # The CCAI baseline model.
      BASELINE_MODEL = 1

      # The CCAI baseline model, V2.0.
      BASELINE_MODEL_V2_0 = 2
    end
  end
end

#run_interruption_annotator::Boolean

Returns Whether to run the interruption annotator.

Returns:

  • (::Boolean)

    Whether to run the interruption annotator.



1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
# File 'proto_docs/google/cloud/contactcenterinsights/v1/resources.rb', line 1602

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

  # Configuration for summarization.
  # @!attribute [rw] conversation_profile
  #   @return [::String]
  #     Resource name of the Dialogflow conversation profile.
  #     Format:
  #     projects/\\{project}/locations/\\{location}/conversationProfiles/\\{conversation_profile}
  # @!attribute [rw] summarization_model
  #   @return [::Google::Cloud::ContactCenterInsights::V1::AnnotatorSelector::SummarizationConfig::SummarizationModel]
  #     Default summarization model to be used.
  class SummarizationConfig
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # Summarization model to use, if `conversation_profile` is not used.
    module SummarizationModel
      # Unspecified summarization model.
      SUMMARIZATION_MODEL_UNSPECIFIED = 0

      # The CCAI baseline model.
      BASELINE_MODEL = 1

      # The CCAI baseline model, V2.0.
      BASELINE_MODEL_V2_0 = 2
    end
  end
end

#run_issue_model_annotator::Boolean

Returns Whether to run the issue model annotator. A model should have already been deployed for this to take effect.

Returns:

  • (::Boolean)

    Whether to run the issue model annotator. A model should have already been deployed for this to take effect.



1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
# File 'proto_docs/google/cloud/contactcenterinsights/v1/resources.rb', line 1602

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

  # Configuration for summarization.
  # @!attribute [rw] conversation_profile
  #   @return [::String]
  #     Resource name of the Dialogflow conversation profile.
  #     Format:
  #     projects/\\{project}/locations/\\{location}/conversationProfiles/\\{conversation_profile}
  # @!attribute [rw] summarization_model
  #   @return [::Google::Cloud::ContactCenterInsights::V1::AnnotatorSelector::SummarizationConfig::SummarizationModel]
  #     Default summarization model to be used.
  class SummarizationConfig
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # Summarization model to use, if `conversation_profile` is not used.
    module SummarizationModel
      # Unspecified summarization model.
      SUMMARIZATION_MODEL_UNSPECIFIED = 0

      # The CCAI baseline model.
      BASELINE_MODEL = 1

      # The CCAI baseline model, V2.0.
      BASELINE_MODEL_V2_0 = 2
    end
  end
end

#run_phrase_matcher_annotator::Boolean

Returns Whether to run the active phrase matcher annotator(s).

Returns:

  • (::Boolean)

    Whether to run the active phrase matcher annotator(s).



1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
# File 'proto_docs/google/cloud/contactcenterinsights/v1/resources.rb', line 1602

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

  # Configuration for summarization.
  # @!attribute [rw] conversation_profile
  #   @return [::String]
  #     Resource name of the Dialogflow conversation profile.
  #     Format:
  #     projects/\\{project}/locations/\\{location}/conversationProfiles/\\{conversation_profile}
  # @!attribute [rw] summarization_model
  #   @return [::Google::Cloud::ContactCenterInsights::V1::AnnotatorSelector::SummarizationConfig::SummarizationModel]
  #     Default summarization model to be used.
  class SummarizationConfig
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # Summarization model to use, if `conversation_profile` is not used.
    module SummarizationModel
      # Unspecified summarization model.
      SUMMARIZATION_MODEL_UNSPECIFIED = 0

      # The CCAI baseline model.
      BASELINE_MODEL = 1

      # The CCAI baseline model, V2.0.
      BASELINE_MODEL_V2_0 = 2
    end
  end
end

#run_sentiment_annotator::Boolean

Returns Whether to run the sentiment annotator.

Returns:

  • (::Boolean)

    Whether to run the sentiment annotator.



1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
# File 'proto_docs/google/cloud/contactcenterinsights/v1/resources.rb', line 1602

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

  # Configuration for summarization.
  # @!attribute [rw] conversation_profile
  #   @return [::String]
  #     Resource name of the Dialogflow conversation profile.
  #     Format:
  #     projects/\\{project}/locations/\\{location}/conversationProfiles/\\{conversation_profile}
  # @!attribute [rw] summarization_model
  #   @return [::Google::Cloud::ContactCenterInsights::V1::AnnotatorSelector::SummarizationConfig::SummarizationModel]
  #     Default summarization model to be used.
  class SummarizationConfig
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # Summarization model to use, if `conversation_profile` is not used.
    module SummarizationModel
      # Unspecified summarization model.
      SUMMARIZATION_MODEL_UNSPECIFIED = 0

      # The CCAI baseline model.
      BASELINE_MODEL = 1

      # The CCAI baseline model, V2.0.
      BASELINE_MODEL_V2_0 = 2
    end
  end
end

#run_silence_annotator::Boolean

Returns Whether to run the silence annotator.

Returns:

  • (::Boolean)

    Whether to run the silence annotator.



1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
# File 'proto_docs/google/cloud/contactcenterinsights/v1/resources.rb', line 1602

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

  # Configuration for summarization.
  # @!attribute [rw] conversation_profile
  #   @return [::String]
  #     Resource name of the Dialogflow conversation profile.
  #     Format:
  #     projects/\\{project}/locations/\\{location}/conversationProfiles/\\{conversation_profile}
  # @!attribute [rw] summarization_model
  #   @return [::Google::Cloud::ContactCenterInsights::V1::AnnotatorSelector::SummarizationConfig::SummarizationModel]
  #     Default summarization model to be used.
  class SummarizationConfig
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # Summarization model to use, if `conversation_profile` is not used.
    module SummarizationModel
      # Unspecified summarization model.
      SUMMARIZATION_MODEL_UNSPECIFIED = 0

      # The CCAI baseline model.
      BASELINE_MODEL = 1

      # The CCAI baseline model, V2.0.
      BASELINE_MODEL_V2_0 = 2
    end
  end
end

#run_summarization_annotator::Boolean

Returns Whether to run the summarization annotator.

Returns:

  • (::Boolean)

    Whether to run the summarization annotator.



1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
# File 'proto_docs/google/cloud/contactcenterinsights/v1/resources.rb', line 1602

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

  # Configuration for summarization.
  # @!attribute [rw] conversation_profile
  #   @return [::String]
  #     Resource name of the Dialogflow conversation profile.
  #     Format:
  #     projects/\\{project}/locations/\\{location}/conversationProfiles/\\{conversation_profile}
  # @!attribute [rw] summarization_model
  #   @return [::Google::Cloud::ContactCenterInsights::V1::AnnotatorSelector::SummarizationConfig::SummarizationModel]
  #     Default summarization model to be used.
  class SummarizationConfig
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # Summarization model to use, if `conversation_profile` is not used.
    module SummarizationModel
      # Unspecified summarization model.
      SUMMARIZATION_MODEL_UNSPECIFIED = 0

      # The CCAI baseline model.
      BASELINE_MODEL = 1

      # The CCAI baseline model, V2.0.
      BASELINE_MODEL_V2_0 = 2
    end
  end
end

#summarization_config::Google::Cloud::ContactCenterInsights::V1::AnnotatorSelector::SummarizationConfig

Returns Configuration for the summarization annotator.

Returns:



1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
# File 'proto_docs/google/cloud/contactcenterinsights/v1/resources.rb', line 1602

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

  # Configuration for summarization.
  # @!attribute [rw] conversation_profile
  #   @return [::String]
  #     Resource name of the Dialogflow conversation profile.
  #     Format:
  #     projects/\\{project}/locations/\\{location}/conversationProfiles/\\{conversation_profile}
  # @!attribute [rw] summarization_model
  #   @return [::Google::Cloud::ContactCenterInsights::V1::AnnotatorSelector::SummarizationConfig::SummarizationModel]
  #     Default summarization model to be used.
  class SummarizationConfig
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # Summarization model to use, if `conversation_profile` is not used.
    module SummarizationModel
      # Unspecified summarization model.
      SUMMARIZATION_MODEL_UNSPECIFIED = 0

      # The CCAI baseline model.
      BASELINE_MODEL = 1

      # The CCAI baseline model, V2.0.
      BASELINE_MODEL_V2_0 = 2
    end
  end
end