You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"""Send a message to a conversation agent for processing.
1690
+
1691
+
This action is able to return
1692
+
`response data <https://www.home-assistant.io/docs/scripts/perform-actions/#use-templates-to-handle-response-data>`_.
1693
+
The response is the same response as for the `/api/conversation/process API <https://developers.home-assistant.io/docs/intent_conversation_api#conversation-response>`_.
1694
+
1695
+
See the docs on the `conversation integration <https://www.home-assistant.io/integrations/conversation/>`__ for
1696
+
more information.
1697
+
1698
+
Args:
1699
+
text (str): Transcribed text input to send to the conversation agent.
1700
+
language (str, optional): Language of the text. Defaults to None.
1701
+
agent_id (str, optional): ID of conversation agent. The conversation agent is the brains of the assistant.
1702
+
It processes the incoming text commands. Defaults to None.
1703
+
conversation_id (str, optional): ID of a new or previous conversation. Will continue an old conversation
1704
+
or start a new one. Defaults to None.
1705
+
namespace (str, optional): If provided, changes the namespace for the service call. Defaults to the current
1706
+
namespace of the app, so it's safe to ignore this parameter most of the time. See the section on
1707
+
`namespaces <APPGUIDE.html#namespaces>`__ for a detailed description.
1708
+
timeout (str | int | float, optional): Timeout for the app thread to wait for a response from the main
1709
+
thread.
1710
+
hass_timeout (str | int | float, optional): Timeout for AppDaemon waiting on a response from Home Assistant
1711
+
to respond to the backup request. Cannot be set lower than the timeout value.
1712
+
callback (ServiceCallback, optional): Function to call with the results of the request.
1713
+
return_response (bool, optional): Whether Home Assistant should return a response to the service call. Even
1714
+
if it's False, Home Assistant will still respond with an acknowledgement. Defaults to True
1715
+
1716
+
Returns:
1717
+
dict: The response from the conversation agent. See the docs on
0 commit comments