Adapt Examples

There are several **Intent Parser** examples for Adapt on GitHub, and this page walks you through what they are, and where you might use them.

circle-info

If you are looking to use Adapt in a Mycroft Skill, please see Skill Development > Intents

Single intent Parser

See the Single Intent Parser code on GitHubarrow-up-right

This sample Intent Parser uses a fixed vocabulary to extract entities for an Intent. This type of intent parser is useful when the parameters of the Intent are well-bounded; that is, the possible Utterances are well known.

Multi-intent Parser

See the Multi-intent Parser code on GitHubarrow-up-right

This sample Intent Parser uses multiple Intents, and disambiguates between them using intent confidence. For example, if one Intent has a higher confidence than the second, the Intent Parser will assume the first Intent.

Regular Expression (regex) Intent Parser

See the Regex Intent Parser code on GitHubarrow-up-right

This sample Intent Parser uses a regular expression entity to extract location from a query. This type of Intent Parser is useful where a parameter needs to be extracted from a query and it takes a form that can be expressed in regex. Other parameters that are often expressed in regex are IP address, names of people and colors.

...

Last updated

Was this helpful?