Skip to content
This repository has been archived by the owner on Jun 30, 2022. It is now read-only.

Commit

Permalink
remove event triggering for action from documentation (#2150)
Browse files Browse the repository at this point in the history
  • Loading branch information
lzc850612 committed Aug 20, 2019
1 parent c817fb6 commit 9581154
Showing 1 changed file with 1 addition and 27 deletions.
28 changes: 1 addition & 27 deletions docs/_docs/reference/skills/skillmanifest.md
Expand Up @@ -35,7 +35,6 @@ A manifest is made up of the following structure:
- Trigger
- UtteranceSources
- Utterance
- Events

### Manifest Header

Expand Down Expand Up @@ -116,7 +115,7 @@ Parameter | Description | Required

### Trigger

A given action can be trigged through different mechanisms, an utterance or an event. Example triggering utterances must be provided by a skill to enable a caller to train a natural language dispatcher so it can identify utterances that should be routed to a skill.
A given action can be trigged through different mechanisms or an utterance. Example triggering utterances must be provided by a skill to enable a caller to train a natural language dispatcher so it can identify utterances that should be routed to a skill.

References to an source of utterances can be provided through the (`utteranceSource`) element.

Expand Down Expand Up @@ -150,17 +149,6 @@ Utterances can also be provided in-line with the skill manifest as shown below.

Both `utteranceSources` and `utterances` support multiple-locales enabling you to express the locales your Skill supports.

Actions can also be invoked through an event mechanism. The event trigger specifies the name of an Activity which will trigger a given action to be performed. In this case retrieve a meeting summary for today.

```json
"triggers": {
"events": [
{
"name": "summaryEvent"
}]
}
```

### Example Skill Manifest

```json
Expand Down Expand Up @@ -291,20 +279,6 @@ Actions can also be invoked through an event mechanism. The event trigger specif
}
}
},
{
"id": "calendarskill_summary",
"definition": {
"description": "Retrieve a summary of meetings through an event invocation.",
"slots": [],
"triggers": {
"events": [
{
"name": "summaryEvent"
}
]
}
}
},
{
"id": "calendarskill_timeRemaining",
"definition": {
Expand Down

0 comments on commit 9581154

Please sign in to comment.