Michael
f10063c9be
Fix translation key for done
response in conversation ( #130247 )
2024-11-10 16:28:58 +01:00
Michael Hansen
901457e7aa
Bump intents and add HassRespond test ( #129830 )
2024-11-05 22:22:49 +01:00
Michael Hansen
cb1b72d6ba
Bump intents to 2024.10.30 ( #129505 )
2024-10-30 16:20:59 +01:00
Artur Pragacz
866f1e70a4
Fix default conversation agent tests ( #128490 )
2024-10-15 22:21:18 -05:00
Artur Pragacz
bb9f534259
Improve intent recognition in default conversation agent ( #124282 )
...
Use the same logic for custom sentences.
Prefer higher quality (longer) names.
2024-10-15 09:14:31 -05:00
Michael Hansen
8ee8421af7
Use device area/floor in HassGetState intent ( #128197 )
...
Use preferred area/floor in HassGetState intent
2024-10-11 16:08:43 -05:00
Michael Hansen
67e0ccf677
Use exposed error messages in Assist ( #127503 )
...
* Use exposed error messages
* Report expose errors
* Remove comment
* Relative import
* Rework expose check logic
* Delay creation of all names list, and skip config/hidden entities
* Clean up commented code and type issue
* Fix test
* Move assistant check
2024-10-11 13:06:03 -04:00
epenet
f8a53aea09
Use HassKey in conversation ( #126332 )
...
* Use HassKey in conversation
* Adjust tests
2024-09-22 17:54:14 +02:00
Paulus Schoutsen
1936aeccb9
Add a test for async_converse ( #124697 )
2024-08-27 11:01:00 -05:00
Andrii Mitnovych
254aa8c9ea
Add entity deduplication by assist device ID in conversation agent ( #123957 )
...
* Add entities deduplication by assist device ID in default conversation agent
* Updated test.
2024-08-19 15:00:23 -05:00
Joost Lekkerkerker
e8d7eb05ae
Delete unused snapshots ( #123656 )
...
* Delete unused snapshots
* Delete unused snapshots
2024-08-12 13:28:09 +02:00
Allen Porter
8d0e998e54
Improve conversation agent tracing to help with eval and data collection ( #122542 )
2024-07-31 14:38:44 +02:00
Allen Porter
f14471112d
Improve LLM tool quality by more clearly specifying device_class slots ( #122723 )
...
* Limit intent / llm API device_class slots to only necessary services and limited set of values
* Fix ruff errors
* Run ruff format
* Fix typing and improve output schema
* Fix schema and improve flattening
* Revert conftest
* Revert recorder
* Fix ruff format errors
* Update using latest version of voluptuous
2024-07-31 14:36:02 +02:00
epenet
075550b7ba
Use HOMEASSISTANT_DOMAIN alias for core DOMAIN in tests ( #122762 )
2024-07-29 12:51:12 +02:00
Marc Mueller
a6068dcdf2
Update import locations in tests ( #122216 )
2024-07-20 11:16:04 +02:00
Michael Hansen
fa0a5451b9
Split up tests to avoid CI timeouts ( #122096 )
2024-07-17 20:32:26 +02:00
Michael Hansen
417abda649
Add HassGetCurrentDate and HassGetCurrentTime intents ( #121707 )
2024-07-11 00:17:04 +02:00
Paulus Schoutsen
01861cd240
Ensure we prepare conversation pipeline when speech-to-text starts ( #114665 )
...
* Ensure we prepare conversation pipeline when speech-to-text starts
* Add lock around recognize
* Update homeassistant/components/conversation/default_agent.py
* Add lock around load intents
2024-07-09 09:58:52 -05:00
Michael Hansen
4498bf9ec4
Remove language lock from default agent and move around tests ( #121531 )
...
* Remove language lock
* Remove unsub for change events
* Remove redundant check
* Simplify intent loading
* Cache intent loading error
* Revert "Remove unsub for change events"
This reverts commit 575266abcd
.
* guard instead of assert
* Some more cleanup
* No need to warn during prepare
* Some more cleanup
* Add more timing logs
* Split up tests and rely less on http
---------
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2024-07-09 16:05:43 +02:00
Jan Bouwhuis
8a28cbe9e2
Wait for conversation test init ( #121464 )
...
* Wait for conversation test init
* typo
2024-07-07 22:24:20 +02:00
Paulus Schoutsen
daaf35d4c1
Simplify conversation tests ( #121060 )
...
Co-authored-by: Franck Nijhof <git@frenck.dev>
2024-07-05 09:46:36 +02:00
Paulus Schoutsen
a885bdfe76
Add conversation supported feature CONTROL ( #121036 )
2024-07-03 14:30:51 +02:00
epenet
e5c7ff6a5b
Use service_calls fixture in conversation tests ( #120906 )
2024-07-01 17:57:40 +02:00
Michael Hansen
02b142fbde
Bump intents to 2024.6.26 ( #120584 )
...
Bump intents
2024-06-26 11:13:01 -05:00
Michael Hansen
d3ceaef098
Allow timer management from any device ( #120440 )
2024-06-26 09:06:56 +02:00
Michael Hansen
46dcf1dc44
Prioritize custom intents over builtin ( #120358 )
2024-06-24 20:57:56 +02:00
epenet
015bc0e172
Use HassKey in homeassistant integration ( #120332 )
2024-06-24 16:37:07 +02:00
epenet
b4d0de9c0f
Improve type hints in conversation tests ( #120306 )
2024-06-24 13:41:55 +02:00
Michael Hansen
8aed04cd3c
Bump intents to 2024.6.21 ( #120106 )
2024-06-21 18:19:52 +02:00
epenet
904cf26d31
Add MockToggleEntity type hints in tests ( #120075 )
2024-06-21 12:32:03 +02:00
Michael Hansen
bca8958d4b
Prioritize literal text with name slots in sentence matching ( #118900 )
...
Prioritize literal text with name slots
2024-06-06 14:20:34 -04:00
Michael Hansen
0257aa4839
Clean up exposed domains ( #118753 )
...
* Remove lock and script
* Add media player
* Fix tests
2024-06-03 21:26:40 -05:00
epenet
5d594a509c
Add type hints for MockAgent in conversation tests ( #118701 )
2024-06-03 17:44:13 +02:00
epenet
1fbf93fd36
Add SnapshotAssertion type hints in tests ( #118371 )
2024-05-29 14:11:58 +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
106cb4cfb7
Bump intents and add tests for new error messages ( #118317 )
...
* Add new error keys
* Bump intents and test new error messages
* Fix response text
2024-05-28 12:24:24 -04:00
Allen Porter
89e2c57da6
Add conversation agent debug tracing ( #118124 )
...
* Add debug tracing for conversation agents
* Minor cleanup
2024-05-25 14:16:51 -04:00
Thomas55555
528d67ee06
Remove unused snapshots [a-f] ( #117999 )
2024-05-24 08:28:04 +02:00
Michael Hansen
daee3d8db0
Don't prioritize "name" slot if it's a wildcard in default conversation agent ( #117518 )
...
* Don't prioritize "name" slot if it's a wildcard
* Fix typing error
2024-05-15 22:23:24 -04:00
Michael Hansen
641754e0bb
Pass device_id to intent handlers ( #117442 )
2024-05-14 13:59:49 -05:00
Michael Hansen
7923471b94
Intent target matching and media player enhancements ( #115445 )
...
* Working
* Tests are passing
* Fix climate
* Requested changes from review
2024-05-07 22:01:03 -04: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
J. Nick Koston
aedfd6c983
Add index for floor/label to the area registry ( #114777 )
2024-04-03 21:04:26 -10: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
d23b22b566
Add initial support for floors to intents ( #114456 )
...
* Add initial support for floors to intents
* Fix climate intent
* More tests
* No return value
* Add requested changes
* Reuse event handler
2024-03-30 16:59:20 -04:00
Sid
dc557fca1e
Refactor conversation mock_agent ( #114428 )
...
* Refactor conversation mock_agent
* Address review comments
2024-03-29 14:38:58 +01:00
Michael Hansen
e4d2985589
Bump intents to 2024.3.27 ( #114312 )
2024-03-27 16:43:15 +01:00
Jan-Philipp Benecke
9580adfde9
Use new setup_test_component_platform
helper instead of test fixture for light platform ( #114200 )
2024-03-26 00:17:16 +01:00