forked from Azure/azure-rest-api-specs
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
adding MessageAnalysisCompletedEvent to EG SDk (Azure#28912)
* adding MessageAnalysisCompletedEvent to EG SDk * adding event to communication tps * generating spec * generating spec * removing sentiment * removing sentiment * removing sentiment * more changes * addressing comments * updating the analysis events * updating the analysis events * updating the analysis events * Update specification/eventgrid/data-plane/Microsoft.Communication/stable/2018-01-01/AzureCommunicationServices.json * tsp format --------- Co-authored-by: JoshLove-msft <[email protected]> Co-authored-by: l0lawrence <[email protected]>
- Loading branch information
1 parent
1b0e82d
commit 0117e47
Showing
10 changed files
with
253 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
25 changes: 25 additions & 0 deletions
25
...n/stable/2018-01-01/examples/cloud-events-schema/advanced_message_analysis_completed.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
{ | ||
"id": "daa5be3b-2652-4eb1-b330-689aaf6606d7", | ||
"source": "/subscriptions/{subscription-id}/resourceGroups/{group-name}/providers/Microsoft.Communication/communicationServices/{communication-services-resource-name}", | ||
"subject": "advanceMessageAnalysis/sender/{sender@id}/recipient/{recipient@id}", | ||
"data": { | ||
"originalMessage": "Yesterday I talked to sara parker, she said that my package did not arrive in Kalamazoo, but was sent to lafeyette instead. So said that I should get in touch with herb and he will help me. My order number is #567890. Can you please help me track my package? I'm really frustrated", | ||
"channelType": "whatsapp", | ||
"from": "{sender@id}", | ||
"to": "{recipient@id}", | ||
"languageDetection": { | ||
"language": "English", | ||
"confidenceScore": 0.99, | ||
"translation": "Yesterday I talked to sara parker, she said that my package did not arrive in Kalamazoo, but was sent to lafeyette instead. So said that I should get in touch with herb and he will help me. My order number is #567890. Can you please help me track my package? I'm really frustrated" | ||
}, | ||
"intentAnalysis": "The customer is contacting customer service to request assistance with tracking their package.", | ||
"keyphraseExtraction": [ | ||
"Sara Parker", | ||
"package", | ||
"Kalamazoo" | ||
] | ||
}, | ||
"type": "Microsoft.Communication.AdvancedMessageAnalysisCompleted", | ||
"specVersion": "1.0", | ||
"time": "2023-02-01T01:54:35.567235Z" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
26 changes: 26 additions & 0 deletions
26
...ion/stable/2018-01-01/examples/event-grid-schema/advanced_message_analysis_completed.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
{ | ||
"id": "daa5be3b-2652-4eb1-b330-689aaf6606d7", | ||
"topic": "/subscriptions/{subscription-id}/resourceGroups/{group-name}/providers/Microsoft.Communication/communicationServices/{communication-services-resource-name}", | ||
"subject": "advanceMessageAnalysis/sender/{sender@id}/recipient/{recipient@id}", | ||
"data": { | ||
"originalMessage": "Yesterday I talked to sara parker, she said that my package did not arrive in Kalamazoo, but was sent to lafeyette instead. So said that I should get in touch with herb and he will help me. My order number is #567890. Can you please help me track my package? I'm really frustrated", | ||
"channelType": "whatsapp", | ||
"from": "{sender@id}", | ||
"to": "{recipient@id}", | ||
"languageDetection": { | ||
"language": "English", | ||
"confidenceScore": 0.99, | ||
"translation": "Yesterday I talked to sara parker, she said that my package did not arrive in Kalamazoo, but was sent to lafeyette instead. So said that I should get in touch with herb and he will help me. My order number is #567890. Can you please help me track my package? I'm really frustrated" | ||
}, | ||
"intentAnalysis": "The customer is contacting customer service to request assistance with tracking their package.", | ||
"keyphraseExtraction": [ | ||
"Sara Parker", | ||
"package", | ||
"Kalamazoo" | ||
] | ||
}, | ||
"eventType": "Microsoft.Communication.AdvancedMessageAnalysisCompleted", | ||
"dataVersion": "1.0", | ||
"metadataVersion": "1", | ||
"eventTime": "2023-02-01T01:54:35.567235Z" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters