The OperatorResults resource returns a list of operator inferences for a Transcript.
The returned Language Operators are the ones that were deployed to the Service at the time of the creation of the Transcript.
The type of the applied Language Understanding Operator. One of conversation-classify, utterance-classify, extract, extract-normalize, or pii-extract
conversation_classify
utterance_classify
extract
extract_normalize
pii_extract
A 34 character string that identifies this Language Understanding operator sid.
^LY[0-9a-fA-F]{32}$
Min length: 34
Max length: 34
Boolean to tell if extract Language Understanding Processing model matches results.
Percentage of 'matching' class needed to consider a sentence matches
The 'matching' class. This might be available on conversation classify model outputs.
Percentage of 'matching' class needed to consider a sentence matches.
The labels probabilities. This might be available on conversation classify model outputs.
List of text extraction results. This might be available on classify-extract model outputs.
Output of a text generation operator for example Conversation Sumamary.
A 34 character string that uniquely identifies this Transcript.
^GT[0-9a-fA-F]{32}$
Min length: 34
Max length: 34
The URL of this resource.
GET https://intelligence.twilio.com/v2/Transcripts/{TranscriptSid}/OperatorResults
A 34 character string that uniquely identifies this Transcript.
^GT[0-9a-fA-F]{32}$
Min length: 34
Max length: 34
Grant access to PII redacted/unredacted Language Understanding operator. If redaction is enabled, the default is True.
How many resources to return in each list page. The default is 50, and the maximum is 1000.
1
Maximum: 1000
The page token. This is provided by the API.
1// Download the helper library from https://www.twilio.com/docs/node/install2const twilio = require("twilio"); // Or, for ESM: import twilio from "twilio";34// Find your Account SID and Auth Token at twilio.com/console5// and set the environment variables. See http://twil.io/secure6const accountSid = process.env.TWILIO_ACCOUNT_SID;7const authToken = process.env.TWILIO_AUTH_TOKEN;8const client = twilio(accountSid, authToken);910async function listOperatorResult() {11const operatorResults = await client.intelligence.v212.transcripts("GTaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa")13.operatorResults.list({ limit: 20 });1415operatorResults.forEach((o) => console.log(o.operatorType));16}1718listOperatorResult();
1{2"operator_results": [],3"meta": {4"page": 0,5"page_size": 50,6"first_page_url": "https://intelligence.twilio.com/v2/Transcripts/GTaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/OperatorResults?PageSize=50&Page=0",7"previous_page_url": null,8"url": "https://intelligence.twilio.com/v2/Transcripts/GTaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/OperatorResults?PageSize=50&Page=0",9"next_page_url": null,10"key": "operator_results"11}12}