Files
core/tests/components
Michael Hansen 3e3ece4e56 Add speech to text over binary websocket to pipeline (#90082)
* Allow passing binary to the WS connection

* Expand test coverage

* Test non-existing handler

* Add text to speech and stages to pipeline

* Default to "cloud" TTS when engine is None

* Refactor pipeline request to split text/audio

* Refactor with PipelineRun

* Generate pipeline from language

* Clean up

* Restore TTS code

* Add audio pipeline test

* Clean TTS cache in test

* Clean up tests and pipeline base class

* Stop pylint and pytest magics from fighting

* Include mock_get_cache_files

* Working on STT

* Preparing to test

* First successful test

* Send handler_id

* Allow signaling end of stream using empty payloads

* Store handlers in a list

* Handle binary handlers raising exceptions

* Add stt/tts dependencies to voice_assistant

* Include STT audio in pipeline test

* Working on tests

* Refactoring with stages

* Fix tests

* Add more tests

* Add method docs

* Change stt demo/cloud to AsyncIterable

* Add pipeline error events

* Move handler id to separate message before pipeline

* Add test for invalid stage order

* Change "finish" to "end"

* Use enum

---------

Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2023-03-23 14:44:19 -04:00
..
2023-02-02 18:35:24 +01:00
2023-02-15 14:09:50 +01:00
2023-03-22 20:00:47 -04:00
2023-02-15 14:09:50 +01:00
2023-02-15 14:09:50 +01:00
2023-02-15 14:09:50 +01:00
2023-02-15 14:09:50 +01:00
2023-02-15 14:09:50 +01:00
2023-02-05 19:10:35 +01:00
2023-02-15 14:09:50 +01:00
2023-03-01 12:29:57 -05:00
2023-02-15 14:09:50 +01:00
2023-02-15 12:39:12 +01:00
2023-02-15 14:09:50 +01:00
2023-02-15 14:09:50 +01:00
2023-02-15 14:09:50 +01:00
2023-02-15 14:09:50 +01:00
2023-02-15 14:09:50 +01:00
2023-02-15 14:09:50 +01:00
2023-02-15 14:09:50 +01:00
2023-03-10 12:06:50 +01:00
2023-03-01 21:19:20 +01:00
2023-02-15 14:09:50 +01:00
2023-02-15 14:09:50 +01:00
2023-03-02 12:33:04 +01:00
2023-02-03 23:08:48 +01:00
2023-02-02 18:35:24 +01:00
2023-02-15 14:09:50 +01:00
2023-02-15 14:09:50 +01:00
2023-02-15 14:09:50 +01:00
2023-02-15 14:09:50 +01:00
2023-02-15 14:09:50 +01:00
2023-02-15 14:09:50 +01:00
2023-02-15 14:09:50 +01:00
2023-02-15 16:46:03 -05:00
2023-02-15 14:09:50 +01:00
2023-02-15 14:09:50 +01:00
2023-02-15 12:39:12 +01:00
2023-03-22 20:00:47 -04:00
2023-02-15 14:09:50 +01:00
2023-02-09 13:41:50 +01:00
2023-03-07 11:35:48 +01:00
2023-02-15 14:09:50 +01:00
2023-02-15 14:09:50 +01:00
2023-02-15 14:09:50 +01:00
2023-02-15 14:09:50 +01:00
2023-02-15 14:09:50 +01:00
2023-02-15 14:09:50 +01:00
2023-02-15 14:09:50 +01:00
2023-02-15 14:09:50 +01:00
2023-02-22 10:18:58 +01:00
2023-03-22 20:00:47 -04:00
2023-02-15 12:39:12 +01:00
2023-01-27 13:57:06 +01:00
2023-02-15 14:09:50 +01:00
2023-02-15 14:09:50 +01:00
2023-03-07 11:35:48 +01:00
2023-02-15 14:09:50 +01:00
2023-02-15 14:09:50 +01:00
2023-02-02 18:35:24 +01:00
2023-03-01 16:33:32 +01:00
2023-02-15 14:09:50 +01:00
2023-01-27 09:09:46 +01:00
2023-02-15 14:09:50 +01:00
2023-03-10 12:06:50 +01:00
2023-03-08 10:53:08 -05:00
2023-02-15 14:09:50 +01:00
2023-03-10 12:06:50 +01:00
2023-02-15 14:09:50 +01:00
2023-02-22 13:55:44 +01:00
2023-02-15 14:09:50 +01:00
2023-02-15 14:09:50 +01:00
2023-03-15 18:54:28 +01:00
2023-03-22 20:00:47 -04:00
2023-02-15 14:09:50 +01:00
2023-02-02 18:35:24 +01:00
2023-03-22 20:00:47 -04:00
2023-01-27 09:09:46 +01:00
2023-01-20 13:42:47 +01:00
2023-03-04 22:26:16 +01:00
2023-02-17 21:08:18 -05:00
2023-03-22 20:00:47 -04:00
2023-03-10 12:06:50 +01:00
2023-03-15 10:07:12 +01:00
2023-03-22 20:00:47 -04:00
2023-02-23 22:15:20 -05:00
2023-02-15 14:09:50 +01:00
2023-02-15 14:09:50 +01:00
2023-02-28 22:12:48 -05:00
2023-02-02 18:35:24 +01:00
2023-02-19 21:14:10 -05:00
2023-01-30 14:06:52 +01:00
2023-03-22 13:55:50 -04:00
2023-03-22 12:01:04 +01:00
2023-02-15 14:09:50 +01:00
2023-02-15 14:09:50 +01:00
2023-03-22 11:15:46 -04:00