mirror of
https://github.com/home-assistant/developers.home-assistant.git
synced 2025-07-14 12:56:30 +00:00
Fix Assist pipeline event types (#1776)
This commit is contained in:
parent
e495013dc4
commit
df785f46a1
@ -40,12 +40,12 @@ The following events can be emitted:
|
||||
| Name | Description | Emitted | Attributes |
|
||||
|-----------------|-----------------------------|------------|---------------------------------------------------------------------------------------------------------|
|
||||
| `run-start` | Start of pipeline run | always | `pipeline` - ID of the pipeline<br />`language` - Language used for pipeline<br />`runner_data` - Extra WebSocket data: <ul><li>`stt_binary_handler_id` is the prefix to send speech data over.</li><li>`timeout` is the max run time for the whole pipeline.</li></ul> |
|
||||
| `run-finish` | End of pipeline run | always | |
|
||||
| `run-end` | End of pipeline run | always | |
|
||||
| `stt-start` | Start of speech to text | audio only | `engine`: STT engine used<br />`metadata`: incoming audio metadata
|
||||
| `stt-finish` | End of speech to text | audio only | `stt_output` - Object with `text`, the detected text.
|
||||
| `intent-start` | Start of intent recognition | always | `engine` - [Agent](/docs/intent_conversation_api) engine used<br />`language`: Processing language. <br/ > `intent_input` - Input text to agent |
|
||||
| `intent-finish` | End of intent recognition | always | `intent_output` - [conversation response](/docs/intent_conversation_api#conversation-response) |
|
||||
| `stt-end` | End of speech to text | audio only | `stt_output` - Object with `text`, the detected text.
|
||||
| `intent-start` | Start of intent recognition | always | `engine` - [Agent](/docs/intent_conversation_api) engine used<br />`language`: Processing language. <br /> `intent_input` - Input text to agent |
|
||||
| `intent-end` | End of intent recognition | always | `intent_output` - [conversation response](/docs/intent_conversation_api#conversation-response) |
|
||||
| `tts-start` | Start of text to speech | audio only | `engine` - TTS engine used<br />`language`: Output language.<br />`voice`: Output voice. <br />`tts_input`: Text to speak. |
|
||||
| `tts-finish` | End of text to speech | audio only | `media_id` - Media Source ID of the generated audio<br />`url` - URL to the generated audio<br />`mime_type` - MIME type of the generated audio<br /> |
|
||||
| `tts-end` | End of text to speech | audio only | `media_id` - Media Source ID of the generated audio<br />`url` - URL to the generated audio<br />`mime_type` - MIME type of the generated audio<br /> |
|
||||
| `error` | Error in pipeline | On error | `code` - Error code<br />`message` - Error message |
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user