activities
latest
false
  • Release Notes
      • June 2024
      • May 2024
      • January 2024
  • Overview
  • Uploading data to Communications Mining
  • Using the Dispatcher Framework
  • Activities reference
Communications Mining Activities
Last updated Oct 11, 2024

Helper functions

When interpreting predictions, you usually won't need to interact with these properties directly. Instead, you can easily access the data you need using one of these helper functions on the StreamResult.Prediction property:

GetLabelExtraction

GetLabelExtractions()

Returns: IEnumerable<LabelExtraction> What's a LabelExtraction?

This function lets you get a list of all label extractions that were predicted.

GetLeafLabelExtractionsSorted

GetLeafLabelExtractionsSorted() What's a LeafLabel?
Returns:IEnumerable<LabelExtraction> What's a LabelExtraction?

This function let’s you get a list of all label extractions that were predicted, sorted by occurrence confidence.

GetLabelExtractionsSorted

GetLabelExtractionsSorted() What's a LeafLabel?
Returns:IEnumerable<LabelExtraction> What's a LabelExtraction?

This function let’s you get a list of all label extractions that were predicted, sorted by occurrence confidence.

GetLabelExtractionsSorted

GetLabelExtractions(string labelName)

Returns:IEnumerable<LabelExtraction> What's a LabelExtraction?

This function lets you get a list of all label extractions that were predicted for a specific label.

GetLabelExtractionsOverOccurrenceConfidenceThreshold

GetLabelExtractionsOverOccurrenceConfidenceThreshold(string thresholdName)

Returns: IEnumerable<LabelExtraction> What's a LabelExtraction?
This function lets you get a list of all label extractions that have exceeded the given threshold.
Note: The default name for a stream threshold is stream.

GetLeafLabelExtractions

GetLeafLabelExtractions() What's a LeafLabel?
Returns: IEnumerable<LabelExtraction> What's a LabelExtraction?

This function lets you get a list of all leaf label extractions that were predicted.

Returns: IEnumerable<LabelExtraction> What's a LabelExtraction?
This function lets you get a list of all label extractions that were predicted for a given label and that have exceeded the given threshold.
Note: A leaf label is a label with no children, otherwise known as a child label.

GetLeafLabelExtractionsOverOccurrenceConfidenceThreshold

GetLeafLabelExtractionsOverOccurrenceConfidenceThreshold(string thresholdName What's a LeafLabel?
Returns: IEnumerable<LabelExtraction> What's a LabelExtraction?
This function lets you get a list of all leaf label extractions that were predicted and that have exceeded the given threshold.
Note: The default name for a stream threshold is stream.

ContainsLabelExtraction

ContainsLabelExtraction(string labelName)

Returns: bool This function lets you determine whether a given label has been predicted.
Note: This function does not take into account any thresholds that have been set.

ContainsLabelExtractionOverOccurenceThreshold

ContainsLabelExtractionOverOccurenceThreshold(string labelName, string thresholdName) Returns:bool.
This function lets you determine whether a given label has been predicted and has exceeded the given threshold.
Note: The default name for a stream threshold is stream.

GetGeneralFields

GetGeneralFields()

Returns: IEnumerable<Field>

This function lets you get a list of general fields that have been predicted.

ContainsGeneralField

ContainsGeneralField(string fieldName)

Returns: bool

This function lets you determine whether a given general field has been predicted.

Was this page helpful?

Get The Help You Need
Learning RPA - Automation Courses
UiPath Community Forum
Uipath Logo White
Trust and Security
© 2005-2024 UiPath. All rights reserved.