Below outlines the changelog of how Sophia has evolved throughout the upgrades.
2.4
- Greatly improved state persistance so saying "what lights are on in the kitchen" followed by "turn them off for me please" will be correctly understood now.
- Revamped clarifications, and you can now safely enable them again via the Settings menu of the web interface. If Sophia can not confidently detect which device it will ask you for clarification, and same if it can not detect an area and no area is assigned to the smart speaker being used.
- Implemented groundwork to include support for capabilities and service calls of non-standard HA intents, such as setting different modes / tilts that various air conditioners, fans, HVAC systems, lights, and other devices sometimes support.
- Streamlined processing of uploaded misinterpretations, helping ensure a personalized e-mail response to virtually every upload going forward.
- Improved overall understanding.
2.3.10
- Added support for timers with clauses such as "six and a half minutes" while it previously only worked for hours.
- Added new LLM prompt field within the Settings menu of the web interface allowing you to specify a custom system prompt to use within LLM fallback functionality.
- Added flag to conversation agent so clicking Assist within Home Assistant will no longer state Sophia is unalbe to control the home. This was purely cosmetic and only effected a minority of installs, but now resolved.
- Updated conversation agent so when executing intents against light devices (eg. set brightness) it will now wait for the entities new state to update, meaning if you have slower lights it will no longer report the previous brightness or color when running intents against them.
- Improved understanding.
2.3.9
- Improved understanding for music assistant integration.
- Fixed small bug that would occasionally cause custom sentences to not fire.
2.3.8
- Fixed small bug in scenes, scripts and automations not showing up in a minority of installs.
- If trying to activate license via Web UI button within Home Assistant, you will not get a redirect page asking you to login to Sophia NLU directly.
2.3.7
- Fixed displaying precision and unit within speech responses.
- Fixed but when processing custom sentences within the /config/custom_sentences/en/ directory. Correct slots are now included and custo responses are used.
- Added functionality to edit sentences within web based interface.
2.3.6
- Improved understanding.
- Improved speech responses.
- Added support for unit and precision within speech responses.
2.3.5
- Fixed bug from previous upgrade that stopped hot reloading of config from working.
2.3.4
- Fixed bug created in last patch that caused custom sentences to stop working.
- Fixed bug that wasn't checkign should_expose setting for scripts, scenes and automations.
- Modified LLM fallback so if there's an error connecting to the LLM it will now be included in the speech response.
2.3.3
- Modified so slots within custom sentences are now replaced with the noun clause instead of only the individual word.
- Modified speech responses to slow them down. Periods are now put in between segments and the first letter of each segment is capitalized.
- Fixed bug that would intermittently cause Sophia to crash when LLM fallback feature would wig out or when universal commands were sent with no area assigned to the smart speaker.
- Fixed bug and LLM fallback via Google Gemini should now work fine.
- Improved understanding when playing music.
2.3.2
- Fixed bug in weather reporting for both, current and tomorrow forecast.
- Fixed bug in response output for alarm systems.
2.3
- LLM fallback now has web search and web fetch functionality, allowing you to get latest sport's scores, current events, etc. You need to get a free API key from https://ollama.com/ and enter it in the Settings menu of localhost web interface.
- Added new "OpenAI 5.6+" LLM provider which uses a different protocol.
- Upon sending a universal command (eg. turn the lights on), instead of playing dumb Sophia will now detect the area the smart speaker is in and execute against that area.
- Added support for alarm systems.
- Modified the Entities -> Export menu so it now generates a yaml file in coordination with the test suite.
- Modified the uploading of misinterpretations so it now includes your device config. This allows your environment to be emulated and tested properly.
- Improved speech responses for both, get current weather and get tomorrow's weather forcast.
- Fixed numeric values within speech responses, now gets current temperature, will convert brightness from HA internal 0 - 255 value into correct percentage, etc.
- Improved overall understanding, thanks to everyone who helped.
- When calling a timer function with no timer name or start duration time, will check number of active timers. If only one, will select that timer, otherwise will throw a no match error.
- Executing of custom intents will now pull the correct custom speech response.
- Fixed bug created last upgrade, scripts now execute correctly, and will output correct custom speech response.
- If using the concise personality, it will no longer append salutations to speech responses.
- If an error occurs when loading Home Assistant configuration, it will be output in the speech response when sending a message.
- LLM fallback will no longer sometimes output "invalid".
2.2
- Improved core understanding with new "ambiguous_family_home_three_storey" test set created in the test suite available at https://git.cicero.sh/aquila/ha-voice-test-suite/
- Improved speech responses, there should no longer be any "Uh oh, unable to find" responses, and responses should be more human like.
- Added new 'concise' personality for those who prefer short and concise speech responses.
- Fixed design elements within the localhost web interface including icons not showing.
- Added new Settings -> About menu to web inteface, and changed Settings menu into a drop down.
- Added new setting allowing user to define how often the filesystem is checked for changes to the config and is hot reloaded (defaults to 5 seconds).
- Updated log message displayed via terminal when config is reloaded to a more proper log format.
- Added LLM Trigger setting allowing you to define a nickname or clause that will force the message to the configured LLM.
- Asking for tomorrow's weather forecast now works.
2.1.4
- Devices with multiple entities such as switch gates will now work properly.
- Now properly obtains the entity name in case it's been renamed, etc.
- Intents with relative attributes (eg. brightness of up or down) now work properly. Changing color now also works.
- Correctly checks should expose state of entities while controlling devices via the Python conversation agent.
- Fixed uploading of misinterpretations when viewing the Sophia web interface via the Home Assistant web UI.
- Upon running a script, it will now output the speech response from the script instead of the standard generic response.
- Slight upgrade to understanding, with larger one coming shortly.
- Slight upgrade to output responses, with larger upgrade coming shortly.
2.1.3
- Fixed should_expose check, and now only exposed entities will show.
- Fixed search entities bug when viewing web interface via the Home Assistant UI.
- Updated LLM fallback so it will now report errors instead of simply saying it can't understand the message.
- Made firing of automations more strict. You now must specifically say you want to run an automation.
- Fixed bug that wouldn't allow music to be played. Sentences such as "play hotel california on the living room tv" will now work.
- Added a "Other / OpenAI Compatible" option to the availabel LLM providers.
- Ensured helper groups are also loaded from config.
- Added check to ensure getting current time or date does not select an entity.
2.1.2
- Updated Docker install so it's more straight forward: https://nlu.to/ha/docs/manual_install
- Updated how it handles the "should expose" setting during config load.
- Fixed bug in ingress that previously didn't allow upload of misinterpretations.
- Debug flag turned back to false. Sorry about all that garbled text it was throwing at stdout, it's now gone.
- More to come
2.1.1
- Devices will now stay strictly in-sync with the "should expose" settings inside Home Assistant.
- Entities menu of web interface modified, area table removed and replaced with combo box that acts as a filter for easier navigation.
- Improvement to understanding with more coming.
2.1.0
- Added three new settings available via Settings menu of Sophia web interface allowing you to load friendly names, define default behavior of "should expose" setting, enable / disable clarifications.
- Clarifications are by default disabled until upcoming v2.2 upgrade which will greatly enhance them.
- Fixed bug that was causing panic when sending message to a LLM.
- Modified test suite to also double as sandbox environment that allows easy emulation of varying configs. See: https://git.cicero.sh/aquila/ha-voice-test-suite/
- Added new highly ambiguous test suite with intention of breaking Sophia as much as possible, with review still in progress.
- Sensors are now included along with climate devices when asking temperature related queries.
- Including a person's name within an area name no longer messes up intent recognition.
- Improved understanding with weekly updates to start to continue strengthening its underlying understanding until it can no longer be improved.
2.0.1
- Released extensive and open source test suite - https://git.cicero.sh/aquila/ha-voice-test-suite/
- Massive improvement in understanding as shown in the leader board of the test suite.
1.3.4
- Removed mode setting, and all installations now run on singular context only mode.
1.3.3
- Fixed small bug within shopping list intents
1.3.2
- Minor tweaks to gathering context during configuration load.
1.3.1
- If device is not assigned an area but is tagged an area, it will now be considered assigned to that area.
- Slight change to weights making tags more dominant.
- Updated Entities menu of web interface, added links to view only tagged entities and ability to delete all tags.
1.3.0
- Improved and finalized the new context only mode.
- Strengthened device and intent selection
- Made new context only mode the default upon installation.
1.2.8
- Strengthened device selection.
- Updated search bar in Entities menu of web interface to properly handle multiple terms.
1.2.7
- Minor finalizations to previous upgrade.
1.2.6
- Added new Context Only mode which can be set via Settings menu of Sophia web interface. Useful if your HA device configuration is incomplete. disorganized, or overly ambiguous. Will prevent device friendly names from being added to the vocabulary, and instead utilize contextual markers only during inference.
- Revamped how HA intents are executed. Bypassed the standard built-in HA intent handler, and instead now makes direct system calls allowing Sophia to trigger devices by ID instead of friendly name.
- Improved handling of vague entity names and contextual markers.
- Custom sentences will not trigger when they are only fragments within a multi-intent message instead of requring full message match.
- Other minor improvements to overall understanding and quality.
1.2.5
- Added search bar within Entities menu of web interface
- Modified device selection so if no devices are found within inferred domain it correctly zooms out and looks for devices based on other contextual markers.
1.2.4
- Restricted when the previous entity state is used ensuring it only triggers when necessary.
- Made overall intent recognition less aggressive, and added additional verification checks to ensure only coherent intents are curated.
1.2.3
- Added fallback to device inference so if no initial devices are found within domain / area, zoom out and look broader.
- Added fallback during initialization that will lookup dynamic IP on router if IP within settings can't be binded to.
- Fixed small bug when auto uploading misinterpretations.
- Fixed small bug when triggering scripts via custom sentences
1.2.2
- Added Jarvis as a personality for outbound responses.
- Added a version check. Simply tell Sophia "version check" to ensure HA is correctly configured and sending messages to Sophia.
- Updated speech responses so appended salutations are always declarative and never ask questions