Skip to content

leftshiftone/intent-markup

Repository files navigation

CircleCI branch GitHub tag (latest SemVer) Maven Central npm (scoped) PyPI

intent-markup

This library is used to specify which Intents of a digital assistant may be suitable for the autocomplete feature of A.I.O.S.

This library can be used with Java, Python and Javascript. Intent Utterances can be excluded for the autocomplete feature as follows.

<!-- disable autocomplete, default is true -->
<intent autocomplete="false">Das ist ein Beispiel.</intent>

<!-- wird automatisch in <intent>Das ist ein Beispiel.</intent> konvertiert -->
Das ist ein Beispiel.

Intent Utterances can be marked as keyword by explicitly adding the attribute keyword-only

<!-- enable keyword functionality, default is false -->
<intent keyword-only="true">vpn</intent>

Keyword functionality

By enabling the keyword, some intent detection skills might identify an intent if the input text contains any of the configured keywords

Development

Release

Releases are triggered locally. Just a tag will be pushed and CI pipelines take care of the rest.

Major

Run ./gradlew final -x sendReleaseEmail -Prelease.scope=major locally.

Minor

Run ./gradlew final -x sendReleaseEmail -Prelease.scope=minor locally.

Patch

Run ./gradlew final -x sendReleaseEmail -Prelease.scope=patch locally.