dialoguekit.core.domain¶
Interface representing domain knowledge.
Classes¶
Represents domain knowledge. |
Module Contents¶
- class dialoguekit.core.domain.Domain(config_file: str)¶
Represents domain knowledge.
The YAML configuration file should contain at least the fields name and slot_names.
- Parameters:
config_file – Name of YAML config file.
- Raises:
KeyError – if the configuration does not have the fields name and slot_names.
- get_slot_names() List[str] ¶
Returns the list of slot names.
- Returns:
List of slot names.
- get_name() str ¶
Returns the name of the domain.