Michael Hansen
c5f93cdd72
Validate sentences and answers ( #173127 )
...
Co-authored-by: Paulus Schoutsen <balloob@gmail.com >
2026-06-06 13:48:07 -04:00
Franck Nijhof
2af7f43ed7
Fix line length violations in tests/components c ( #170845 )
...
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com >
2026-05-17 13:10:54 +02:00
Artur Pragacz
51c35eb631
Move default conversation agent to manager ( #152479 )
2025-09-18 08:22:56 +02:00
Artur Pragacz
1b99ffe61b
Pass satellite id through assist pipeline ( #151992 )
2025-09-11 11:13:23 -05:00
Artur Pragacz
f0c5e00cc1
Fix conversation trigger with variables ( #140066 )
2025-03-08 22:23:24 -05:00
Paulus Schoutsen
7883106e7c
Make sure we always have agent_id in ConversationInput ( #137679 )
...
* Make sure we always have agent_id in ConversationInput
* fix type
2025-02-07 18:25:21 -08:00
Paulus Schoutsen
7a484ee0ae
Add extra prompt to assist pipeline and conversation ( #124743 )
...
* Add extra prompt to assist pipeline and conversation
* extra_prompt -> extra_system_prompt
* Fix rebase
* Fix tests
2025-01-06 12:58:42 -05:00
Paulus Schoutsen
6103cea3f5
Make the full conversation input available to sentence triggers ( #131982 )
...
Co-authored-by: Michael Hansen <mike@rhasspy.org >
2024-11-30 22:04:29 -06:00
epenet
f8a53aea09
Use HassKey in conversation ( #126332 )
...
* Use HassKey in conversation
* Adjust tests
2024-09-22 17:54:14 +02:00
epenet
e5c7ff6a5b
Use service_calls fixture in conversation tests ( #120906 )
2024-07-01 17:57:40 +02:00
epenet
7e62061b9a
Improve typing for calls fixture in tests (a-l) ( #118349 )
...
* Improve typing for `calls` fixture in tests (a-l)
* More
* More
2024-05-29 09:06:48 +02:00
Michael Hansen
d223e1f2ac
Add Conversation command to timers ( #118325 )
...
* Add Assist command to timers
* Rename to conversation_command. Execute in timer code.
* Make agent_id optional
* Fix arg
---------
Co-authored-by: Paulus Schoutsen <balloob@gmail.com >
2024-05-28 20:33:31 -05:00
Michael Hansen
1c2499b03a
Add "conversation" key to translations ( #114887 )
...
* Use translated trigger response
* Use conversation key instead
2024-04-04 14:45:27 -05:00
Paulus Schoutsen
d2e4f5f36e
Add conversation entity ( #114518 )
...
* Default agent as entity
* Migrate constant to point at new value
* Fix tests
* Fix more tests
* Move assist pipeline back to cloud after dependenceis
2024-04-01 21:34:25 -04:00
Paulus Schoutsen
f01235ef74
Re-organize conversation integration ( #114502 )
...
* Re-organize conversation integration
* Clean up 2 more imports
* Re-export models
* Fix imports
* Uno mas
* Rename agents to models
* Fix cast test that i broke?
* Just blocking till I'm done
* Wrong place
2024-03-31 00:05:25 -04:00
Michael Hansen
556855f54e
Add device_id to sentence trigger and external conversation APIs ( #113094 )
...
* Add device_id to sentence trigger and external conversation APIs
* Remove device_id from external API
* Update tests/components/conversation/snapshots/test_init.ambr
---------
Co-authored-by: Paulus Schoutsen <balloob@gmail.com >
2024-03-12 08:50:06 -04:00
J. Nick Koston
fdd45189ca
Fix trigger attachment race in conversation tests ( #110869 )
2024-02-18 20:13:41 +01:00
Michael Hansen
1750f54da4
Assist fixes ( #109889 )
...
* Don't pass entity ids in hassil slot lists
* Use first completed response
* Add more tests
2024-02-07 15:13:42 -06:00
Erik Montnemery
9d22f07fc6
Use send_json_auto_id in conversation tests ( #109354 )
2024-02-02 15:46:59 +01:00
Michael Hansen
c2c98bd04c
Move default response out of sentence trigger registration and into agent ( #109317 )
...
* Move default response out of trigger and into agent
* Add test
2024-02-01 20:40:29 +01:00
Erik Montnemery
9bff039d17
Add set_conversation_response script action ( #108233 )
...
* Add set_conversation_response script action
* Update homeassistant/components/conversation/trigger.py
Co-authored-by: Martin Hjelmare <marhje52@gmail.com >
* Revert accidental change
* Add test
* Ignore mypy
* Remove incorrect callback decorator
* Update homeassistant/helpers/script.py
* Add test with templated set_conversation_response
---------
Co-authored-by: Martin Hjelmare <marhje52@gmail.com >
Co-authored-by: Paulus Schoutsen <balloob@gmail.com >
2024-01-23 09:13:42 -05:00
Erik Montnemery
91815ed5f9
Assert default response from conversation trigger ( #108231 )
2024-01-17 15:47:06 +01:00
Tudor Sandu
d3ed8a6b8b
Validate empty sentence triggers ( #103579 )
...
* Validate empty sentence triggers
* Add extra test for no sentences
* Remove extra line
---------
Co-authored-by: Michael Hansen <mike@rhasspy.org >
2023-11-07 11:56:24 -06:00
Michael Hansen
7e3fdd85fc
Add wildcards to sentence triggers ( #97236 )
...
Co-authored-by: Franck Nijhof <git@frenck.dev >
2023-07-27 20:30:42 +02:00
Michael Hansen
6b8ae0ec86
Ensure trigger sentences do not contain punctuation ( #95633 )
...
* Ensure trigger sentences do not contain punctuation
* Update homeassistant/components/conversation/trigger.py
Co-authored-by: Paulus Schoutsen <balloob@gmail.com >
---------
Co-authored-by: Paulus Schoutsen <balloob@gmail.com >
2023-06-30 13:06:26 -05:00
Michael Hansen
d811fa0e74
Sentence trigger ( #94613 )
...
* Add async_register_trigger_sentences for default agent
* Add trigger response and trigger handler
* Check callback in test
* Clean up and move response to callback
* Add trigger test
* Drop TriggerAction
* Test we pass sentence to callback
* Match triggers once, allow multiple sentences
* Don't use trigger id
* Use async callback
* No response for now
* Use asyncio.gather for callback responses
* Fix after rebase
* Use a list for trigger sentences
---------
Co-authored-by: Paulus Schoutsen <balloob@gmail.com >
2023-06-22 18:29:34 -05:00