pepper.responder.topic module¶
-
class
pepper.responder.topic.
BrexitResponder
[source]¶ Bases:
pepper.responder.responder.Responder
-
BREXIT_ELOQUENCE
= ['Brexit is indeed a complex topic.', 'We will have to see how Brexit turns out']¶
-
requirements
¶
-
respond
(utterance, app)[source]¶ Respond to Utterance
When successful, respond should return a quality score and a callable implementing the response
Parameters: - utterance (Utterance) – Utterance to respond to
- app (Union[requirements]) – Components to Interact with as Response
Returns: response – response quality & responder function
Return type: float, callable
-
type
¶
-