Skip to content

Latest commit

 

History

History
35 lines (18 loc) · 1.9 KB

CONTRIBUTING.md

File metadata and controls

35 lines (18 loc) · 1.9 KB

Contributing

Anyone can contribute to this repository, including:

Workflows

Several workflows are available for contribution:

Sentence Templates

In order to match text to intents, we have created a specialized template language and matcher. These sentences are grouped by intent, and collected into YAML files. By convention, lists and expansion rules put into sentences/<language>/_common.yaml

Test Sentences

Sentences and the intents they should match are collected together into YAML files. By convention, test names for areas and entities are put into tests/<language>/_fixtures.yaml

Response Templates

Responses to intents will be generated with Home Assistant templates. These are different than the sentence templates, which are used for matching text to intents.

Response templates will have access to the state object of the matched entity, such as the climate entity for the sentence "what is the temperature?".

See file format for more details on the YAML format for response templates.