General
GeneralUseCase
Bases: AbstractUseCase
Class for managing the general use case
check_proactivity()
Check if there is a proactivity to be triggered
Currently the general use case does not have any proactivity.
trigger_assistant(best_match)
UseCase for general questions
The general use case aims to answer general questions like the most popular ones asked Google assistant. This use case also includes the option to exit the assistant.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
best_match |
BestMatch
|
The best matching key for the given user input. |
required |
Raises:
Type | Description |
---|---|
NotImplementedError
|
If the given key was not found in the match case statement for implemented functions, or if the function is not implemented yet. |