Skip to content
This repository was archived by the owner on Mar 5, 2020. It is now read-only.

Example and Hello World Plugin

Lars B edited this page Sep 27, 2018 · 3 revisions

Plugin info

This plugin provides some examples to understand how we implement our features as well as some tests for the registry.
You can also read an explanation to the structure of the plugins here.

Plugin features

The following segments will explain the various features the plugin provides. The commands presented will have agf form as there are sometimes too many possible alternatives for one command to list them entirely. For all possible command variation see in HelloWorldSpeech.aim.xml You can read all about the agf form and dialogs here.

Hello

This is a very simple command to start with. The code is very easy structured to understand how Amy works.
The speech command for this feature is say hello. Amy will answer you and say "hello".
On top of that there exists a speech command say hello # times. The # stands here for a various number between 1 and 99. Amy will interpret this number and will say "hello" as often as you wished.

Contacts

The speech command get contacts gets you all contacts which are saved to the registry of Amy.

Registry

There are three commands to test the different registries whether they are working without any problems or not.
To test the contact registry please use the speech command test contacts registry.
To test the location registry please use the speech command test location registry.
To test the custom registry please use the speech command test custom registry.

Clone this wiki locally