Help generating the response for Dialogflow.
Definition at line 149 of file __init__.py.
◆ __init__()
| def homeassistant.components.dialogflow.DialogflowResponse.__init__ |
( |
|
self, |
|
|
|
parameters, |
|
|
|
api_version |
|
) |
| |
Initialize the Dialogflow response.
Definition at line 152 of file __init__.py.
◆ add_speech()
| def homeassistant.components.dialogflow.DialogflowResponse.add_speech |
( |
|
self, |
|
|
|
text |
|
) |
| |
Add speech to the response.
Definition at line 162 of file __init__.py.
◆ as_dict()
| def homeassistant.components.dialogflow.DialogflowResponse.as_dict |
( |
|
self | ) |
|
Return response in a Dialogflow valid dictionary.
Definition at line 171 of file __init__.py.
◆ api_version
| homeassistant.components.dialogflow.DialogflowResponse.api_version |
◆ parameters
| homeassistant.components.dialogflow.DialogflowResponse.parameters |
◆ speech
| homeassistant.components.dialogflow.DialogflowResponse.speech |
The documentation for this class was generated from the following file: