NAME
Twilio::Rest::Intelligence::V2::Transcript::OperatorResult - The OperatorResult resource
SYNOPSIS
my $client = Twilio::Rest::Client->new($account_sid, $auth_token);
for my $operator_result ($client->intelligence->v2->transcripts($transcript_sid)->operator_results->read({}, 20)) {
...
}
my $operator_result = $client->intelligence->v2->transcripts($transcript_sid)->operator_results($operator_sid)->fetch;
DESCRIPTION
This file holds OperatorResultList, OperatorResultPage, OperatorResultContext and OperatorResultInstance. Methods that make a request throw Twilio::Exceptions::RestException on an error response.
OperatorResultList
Returned by $client->intelligence->v2->transcripts($transcript_sid)->operator_results. See also Twilio::ListResource.
read
my @records = $client->intelligence->v2->transcripts($transcript_sid)->operator_results->read(\%options, $limit, $page_size);
Retrieve a list of Operator Results for the given Transcript. Returns the records as a list, fetching as many pages as it needs.
The options are:
redacted-
Grant access to PII redacted/unredacted Language Understanding operator. If redaction is enabled, the default is True.
stream
my $stream = $client->intelligence->v2->transcripts($transcript_sid)->operator_results->stream(\%options, $limit, $page_size);
Takes the same arguments as "read", and returns a Twilio::Stream.
page
my $page = $client->intelligence->v2->transcripts($transcript_sid)->operator_results->page(\%options, $page_size, $page_token, $page_number);
Fetches one page, and returns a Twilio::Page.
get_page
my $page = $client->intelligence->v2->transcripts($transcript_sid)->operator_results->get_page($url);
Fetches the page at a URL given by Twilio.
get_context
my $context = $client->intelligence->v2->transcripts($transcript_sid)->operator_results->get_context($operator_sid);
Returns a OperatorResultContext, and makes no request.
OperatorResultPage
A Twilio::Page of OperatorResultInstance objects.
records_key
build_instance
Used by Twilio::Page.
OperatorResultContext
Returned by $client->intelligence->v2->transcripts($transcript_sid)->operator_results($operator_sid). It makes no request until one of these methods is called.
fetch
my $operator_result = $client->intelligence->v2->transcripts($transcript_sid)->operator_results($operator_sid)->fetch(\%options);
Fetch a specific Operator Result for the given Transcript. Returns a OperatorResultInstance.
The options are:
redacted-
Grant access to PII redacted/unredacted Language Understanding operator. If redaction is enabled, the default is True.
OperatorResultInstance
See also Twilio::InstanceResource.
It has fetch, which work as they do on the context.
Its fields are:
- extract_match
-
Boolean to tell if extract Language Understanding Processing model matches results.
- extract_results
-
List of text extraction results. This might be available on classify-extract model outputs.
- json_results
-
No description in the specification.
- label_probabilities
-
The labels probabilities. This might be available on conversation classify model outputs.
- match_probability
-
Percentage of 'matching' class needed to consider a sentence matches
- name
-
The name of the applied Language Understanding.
- normalized_result
-
Normalized output of extraction stage which matches Label.
- operator_sid
-
A 34 character string that identifies this Language Understanding operator sid.
- operator_type
-
One of
conversation-classify,utterance-classify,extract,extract-normalize,pii-extract,text-generationorjson. - predicted_label
-
The 'matching' class. This might be available on conversation classify model outputs.
- predicted_probability
-
Percentage of 'matching' class needed to consider a sentence matches.
- text_generation_results
-
Output of a text generation operator for example Conversation Sumamary.
- transcript_sid
-
A 34 character string that uniquely identifies this Transcript.
- url
-
The URL of this resource.
- utterance_match
-
Boolean to tell if Utterance matches results.
- utterance_results
-
List of mapped utterance object which matches sentences.
CONSTRUCTORS
new
Objects here come from the methods above, so there is no need to call new directly.
LICENSE
Copyright (c) 2026 Francisco Zarabozo. Released under the MIT License.