Skip to content

Commit

Permalink
Add to dummy bot sample several examples of supported message types, …
Browse files Browse the repository at this point in the history
…like quick replies and templates
  • Loading branch information
Antonio Pintus committed Mar 7, 2018
1 parent e375ca1 commit b737b18
Show file tree
Hide file tree
Showing 5 changed files with 2,058 additions and 74 deletions.
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,11 @@ The `examples` folder contains some samples of Bot Managers, a Wit.ai Bot implem
See:

- `sample`: dead simple bot Agent and Manager plus a Bot Filter, read and use the `examples/http-requests/sample.http` file to learn more and to run them;
- `dummy-bot`: a simple bot (Agent and Manager) able to understand some simple "commands". Read and use the `examples/http-requests/dummy-bot.http` file to learn more and to run and interact with them.
- `dummy-bot`: a simple bot (Agent and Manager) able to understand some simple "commands" to return several types of messages, including quick replies and templates. Read and use the `examples/http-requests/dummy-bot.http` file to learn more and to run and interact with them.
- `sample-wit`: a simple bot using Wit.ai platform.

**TIP:** For a quick start learning about formats of requests, responses and messages bodies, including quick replies and templates, just see the [Dummy Bot](https://github.com/vivocha/bot-sdk/blob/master/examples/dummy-bot.ts) code.

---

### [BotAgents and Manager TL;DR](#botagents-and-manager-tl-dr)
Expand Down Expand Up @@ -76,7 +78,7 @@ In JavaScript:
let botAgent = async (request) => {
// the logic to interact with the particular bot implementation
// goes here, then produce a BotResponse message...
...
...
return response;
}
```
Expand Down
Loading

0 comments on commit b737b18

Please sign in to comment.