You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
When asking anything "Unexpected error during intent recognition" is returned, even tho I see the LocalAI logs showing that the LLM provided an answer:
[{"index":0,"finish_reason":"stop","message":{"role":"assistant","content":"Maxi is currently using the computer."}}]
Expected behavior
A working answer
Logs
If applicable, please upload any error or debug logs output by Home Assistant.
HA logs:
2024-07-19 13:21:19.074 ERROR (MainThread) [homeassistant.components.assist_pipeline.pipeline] Unexpected error during intent recognition
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/components/assist_pipeline/pipeline.py", line 995, in recognize_intent
conversation_result = await conversation.async_converse(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/conversation/agent_manager.py", line 108, in async_converse
result = await method(conversation_input)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/llama_conversation/agent.py", line 427, in async_process
conversation.append({"role": "tool", "message": json.dumps(tool_response)})
^^^^^^^^^^^^^
UnboundLocalError: cannot access local variable 'tool_response' where it is not associated with a value
LocalAI Logs:
5:26PM DBG Template found, input modified to: <|im_start|>system
You are 'Beam', a helpful AI Assistant that controls the devices in a house.
You can also compound given data to infer state of things And current events.
Complete the following task as instructed with the information provided only.
The current time and date is 05:26 PM on Friday July 19, 2024
Tools: [{"type":"function","function":{"name":"HassTurnOn","description":"Turns on/opens a device or entity","parameters":{"type":"object","properties":{"name":{"type":"string","description":""},"area":{"type":"string","description":""},"floor":{"type":"string","description":""},"domain":{"type":"string","description":""},"device_class":{"type":"string","description":""}},"required":[]}}},{"type":"function","function":{"name":"HassTurnOff","description":"Turns off/closes a device or entity","parameters":{"type":"object","properties":{"name":{"type":"string","description":""},"area":{"type":"string","description":""},"floor":{"type":"string","description":""},"domain":{"type":"string","description":""},"device_class":{"type":"string","description":""}},"required":[]}}},{"type":"function","function":{"name":"HassSetPosition","description":"Sets the position of a device or entity","parameters":{"type":"object","properties":{"name":{"type":"string","description":""},"area":{"type":"string","description":""},"floor":{"type":"string","description":""},"domain":{"type":"string","description":""},"device_class":{"type":"string","description":""},"position":{"type":"integer","description":""}},"required":["position"]}}},{"type":"function","function":{"name":"HassMediaUnpause","description":"Resumes a media player","parameters":{"type":"object","properties":{"name":{"type":"string","description":""},"area":{"type":"string","description":""},"floor":{"type":"string","description":""},"domain":{"type":"string","description":""},"device_class":{"type":"string","description":""}},"required":[]}}},{"type":"function","function":{"name":"HassMediaPause","description":"Pauses a media player","parameters":{"type":"object","properties":{"name":{"type":"string","description":""},"area":{"type":"string","description":""},"floor":{"type":"string","description":""},"domain":{"type":"string","description":""},"device_class":{"type":"string","description":""}},"required":[]}}},{"type":"function","function":{"name":"HassMediaNext","description":"Skips a media player to the next item","parameters":{"type":"object","properties":{"name":{"type":"string","description":""},"area":{"type":"string","description":""},"floor":{"type":"string","description":""},"domain":{"type":"string","description":""},"device_class":{"type":"string","description":""}},"required":[]}}},{"type":"function","function":{"name":"HassMediaPrevious","description":"Replays the previous item for a media player","parameters":{"type":"object","properties":{"name":{"type":"string","description":""},"area":{"type":"string","description":""},"floor":{"type":"string","description":""},"domain":{"type":"string","description":""},"device_class":{"type":"string","description":""}},"required":[]}}},{"type":"function","function":{"name":"HassSetVolume","description":"Sets the volume of a media player","parameters":{"type":"object","properties":{"name":{"type":"string","description":""},"area":{"type":"string","description":""},"floor":{"type":"string","description":""},"domain":{"type":"string","description":""},"device_class":{"type":"string","description":""},"volume_level":{"type":"integer","description":""}},"required":["volume_level"]}}},{"type":"function","function":{"name":"HassLightSet","description":"Sets the brightness or color of a light","parameters":{"type":"object","properties":{"name":{"type":"string","description":""},"area":{"type":"string","description":""},"floor":{"type":"string","description":""},"domain":{"type":"string","description":""},"device_class":{"type":"string","description":""},"color":{"type":"string","description":""},"temperature":{"type":"integer","description":""},"brightness":{"type":"integer","description":""}},"required":[]}}},{"type":"function","function":{"name":"MassPlayMediaOnMediaPlayer","description":"Execute Home Assistant MassPlayMediaOnMediaPlayer intent","parameters":{"type":"object","properties":{"name":{"type":"string","description":""},"area":{"type":"string","description":""},"query":{"type":"string","description":""},"artist":{"type":"string","description":""},"track":{"type":"string","description":""},"album":{"type":"string","description":""}},"required":[]}}},{"type":"function","function":{"name":"HassVacuumStart","description":"Starts a vacuum","parameters":{"type":"object","properties":{"name":{"type":"string","description":""},"area":{"type":"string","description":""},"floor":{"type":"string","description":""},"domain":{"type":"string","description":""},"device_class":{"type":"string","description":""}},"required":[]}}},{"type":"function","function":{"name":"HassVacuumReturnToBase","description":"Returns a vacuum to base","parameters":{"type":"object","properties":{"name":{"type":"string","description":""},"area":{"type":"string","description":""},"floor":{"type":"string","description":""},"domain":{"type":"string","description":""},"device_class":{"type":"string","description":""}},"required":[]}}}]
Devices:
person.maximiliano 'Maxi' = home
person.maximiliano 'Maximiliano' = home
person.myriam 'Myriam' = not_home
person.carla 'Carla' = not_home
person.fay 'Fay' = home
person.cindy 'Cindy' = unknown
cover.group_all_blinds 'All Blinds' = open
cover.group_all_blinds 'all windows' = open
cover.group_all_blinds 'all the blinds' = open
cover.group_all_blinds 'all the windows' = open
cover.group_all_blinds 'all blinds' = open
binary_sensor.all_present_sleeping 'All Present Sleeping' = off
binary_sensor.maxi_is_talking 'maxi is talking' = off
sensor.maxis_current_game 'Maxis Current Game' = idle
sensor.amount_partners_home 'amount partners home' = 0 partners
sensor.amount_friends_home 'amount friends home' = 0 friends
sensor.which_friends_home 'which friends home' = ['Koopa', 'Fay laptop']
sensor.amount_people_home 'amount people home' = 2 person(s)
sensor.total_amount_people_home 'total amount people home' = 3
sensor.total_amount_people_home 'Total Amount of people at home' = 3
sensor.last_active_room 'last active room' = office
sensor.active_sleeper_rooms 'active_sleeper_rooms' = ['hotbox']
sensor.active_sleeper_amount 'active_sleeper_amount' = 1
sensor.active_chromecast_rooms 'active_chromecast_rooms' = []
sensor.active_speakers_rooms 'active_speakers_rooms' = ['livingroom', 'office', 'chillingroom', 'kitchen']
sensor.is_maxi_asleep 'Is maxi asleep?' = awake
sensor.maxi_location_v3 'Maxi Location v3' = office
sensor.maxi_location_v3 'Maxi's Location' = office
sensor.maxi_location_v3 'Location of maxi' = office
input_boolean.acid_time 'Acid Time' = off
input_boolean.acid_time 'Acid Time.' = off
input_boolean.acid_time 'Acid Mode' = off
binary_sensor.motion_home 'Motion Home' = on
media_player.universal_home_speakers 'Universal Home Speakers' = playing;Viva la vida
light.hotbox_down_lavalamp 'Hotbox_Down_lavaLamp' = unavailable
light.group_all_inside_lights 'All inside lights' = on;antiquewhite (255, 237, 221);100%
light.group_all_inside_lights 'All the inside lights' = on;antiquewhite (255, 237, 221);100%
light.group_all_inside_lights 'Inside Lights' = on;antiquewhite (255, 237, 221);100%
light.group_all_inside_lights 'All Inside Lights' = on;antiquewhite (255, 237, 221);100%
media_player.wiim_office_linkplay 'Office Wiim' = playing;Airplay;vol=36
media_player.wiim_kitchen_linkplay 'Kitchen Wiim' = playing;Airplay;vol=31
media_player.wiim_chillingroom_linkplay 'Chillingroom Wiim' = playing;Airplay;vol=36
climate.hotbox_ac 'Hotbox Thermostat' = cool;24C
climate.office_ac 'Office Thermostat' = cool;25C
climate.livingroom_ac 'Livingroom Thermostat' = cool;24C
climate.bedroom_ac 'Bedroom Thermostat' = cool;19C
media_player.mass_livingroom_airplay_wiim_speaker 'Livingroom Airplay Wiim' = playing;Viva la vida;vol=42
media_player.group_mass_home_airplay_speakers 'Home Group Airplay' = playing;Viva la vida;vol=35
media_player.group_mass_home_airplay_speakers 'Home Speakers' = playing;Viva la vida;vol=35
media_player.group_mass_home_airplay_speakers 'Home group' = playing;Viva la vida;vol=35
media_player.group_mass_home_airplay_speakers 'Home Group' = playing;Viva la vida;vol=35
media_player.group_mass_home_airplay_speakers 'Everywhere' = playing;Viva la vida;vol=35
media_player.mass_office_airplay_wiim_speaker 'Office Airplay Wiim' = playing;Viva la vida;vol=35
media_player.mass_chillingroom_airplay_wiim_speaker 'Chillingroom Airplay Wiim' = playing;Viva la vida;vol=35
media_player.mass_closet_airplay_wiim_speaker 'Closet Airplay Wiim' = off
media_player.mass_kitchen_airplay_wiim_speaker 'Kitchen Airplay Wiim' = playing;Viva la vida;vol=30
vacuum.xiaomi_vacuum_cleaner 'Roborock S6 Pure' = docked
switch.bathroom_fan 'Bathroom Fan' = off
switch.kitchen_tablet_screensaver 'Kitchen Tablet Screensaver' = off
switch.kitchen_tablet_screen 'Kitchen Tablet Screen' = on
light.group_all_zigbee_lights 'group_all_zigbee_lights' = on;antiquewhite (255, 237, 222);100%
light.bathroom_window_light 'Bathroom Window light' = off
light.office_lamp1_light 'office lamp1 light' = on;magenta (234, 0, 255);100%
light.office_lamp2_light 'office lamp2 light' = on;antiquewhite (255, 237, 222);100%
light.office_tv_light 'office tv light' = on;antiquewhite (255, 237, 222);100%
light.quotra_office_light 'quotra office light' = unavailable
light.hallway_light 'hallway light' = on;antiquewhite (255, 237, 222);100%
light.kitchen_1_light 'kitchen 1 light' = off
light.kitchen_2_light 'kitchen 2 light' = off
light.kitchen_3_light 'kitchen 3 light' = off
light.livingroom_center_light 'LivingRoom Center light' = on;antiquewhite (255, 237, 222);100%
light.quotra_livingroom_light 'Quotra livingroom light' = on;antiquewhite (255, 237, 222);100%
light.livingroom_tv_light 'livingroom tv light' = on;antiquewhite (255, 237, 222);100%
light.livingroom_window_light 'livingroom window light' = on;antiquewhite (255, 237, 222);100%
light.server_light 'server light' = off
light.workstation_light 'workstation light' = on;antiquewhite (255, 237, 222);100%
light.entrance_light 'entrance light' = off
light.patio_string_bulb_06 'Patio String bulb 06' = off
light.patio_string_bulb_08 'Patio String bulb 08' = off
light.patio_string_bulb_09 'Patio String bulb 09' = off
binary_sensor.patio_camera_motion 'Patio Camera Motion' = on
binary_sensor.faceshot_camera_motion 'Faceshot Camera Motion' = off
binary_sensor.front_door_camera_motion 'Front Door Camera Motion' = on
light.patio_string_bulb_10 'Patio String bulb 10' = off
light.patio_string_bulb_11 'Patio String bulb 11' = off
light.patio_string_bulb_12 'Patio String bulb 12' = off
light.patio_string_bulb_01 'Patio string bulb 01' = off
light.patio_string_bulb_02 'Patio string bulb 02' = off
light.patio_string_bulb_03 'Patio string bulb 03' = off
light.patio_string_bulb_04 'Patio string bulb 04' = off
light.hotbox_down_behind_tv_light 'hotbox down behind tv light' = off
light.hotbox_down_light 'hotbox down light' = off
light.bathroom_door_light 'Bathroom Door Light' = off
light.bedroom_chandelier_light 'bedroom chandelier light' = on;antiquewhite (255, 237, 222);100%
light.front_door_light 'front door light' = off
light.chillingroom_ceiling_light 'ChillingRoom ceiling Light' = on;antiquewhite (255, 237, 222);100%
light.patio_string_bulb_05 'Patio string bulb 05' = off
light.patio_string_bulb_07 'Patio string bulb 07' = off
sensor.sensor_bathroom_temperature_temperature 'sensor bathroom temperature Temperature' = 25.9 °C;25C;50.2%
sensor.sensor_bathroom_temperature_humidity 'sensor bathroom temperature Humidity' = 50.2 %;25C;50.2%
sensor.sensor_office_temperature_temperature 'sensor office temperature Temperature' = 23.94 °C;23C;50.23%
sensor.sensor_office_temperature_humidity 'sensor office temperature Humidity' = 50.23 %;23C;50.23%
sensor.sensor_bedroom_temperature_temperature 'sensor bedroom temperature Temperature' = 23.66 °C;23C;59%
sensor.sensor_bedroom_temperature_humidity 'sensor bedroom temperature Humidity' = 59 %;23C;59%
sensor.sensor_livingroom_temperature_temperature 'sensor livingroom temperature Temperature' = 23.9 °C;23C;44.9%
sensor.sensor_livingroom_temperature_humidity 'sensor livingroom temperature Humidity' = 44.9 %;23C;44.9%
sensor.sensor_hotbox_down_temperature_temperature 'sensor hotbox down temperature Temperature' = 24 °C;24C;37.7%
sensor.sensor_hotbox_down_temperature_humidity 'sensor hotbox down temperature Humidity' = 37.7 %;24C;37.7%
sensor.sensor_stove_temperature_temperature 'sensor stove temperature Temperature' = 27.62 °C;27C;47.61%
sensor.sensor_stove_temperature_humidity 'sensor stove temperature Humidity' = 47.61 %;27C;47.61%
sensor.sensor_outside_temperature_temperature 'sensor outside temperature Temperature' = 24.53 °C;24C;54.08%
sensor.sensor_outside_temperature_humidity 'sensor outside temperature Humidity' = 54.08 %;24C;54.08%
binary_sensor.sensor_bathroom_door_contact 'Sensor bathroom Door Door' = on
binary_sensor.sensor_bedroom_door_contact 'sensor bedroom door Door' = on;30C
binary_sensor.sensor_server_door_contact 'sensor server door Door' = on
binary_sensor.sensor_closet_fp1_presence 'Sensor Closet FP1 Presence' = on;21C
binary_sensor.sensor_patio_door_contact 'sensor patio door Door' = off;23C
binary_sensor.sensor_fridge_door_contact 'Sensor Fridge door Door' = off;30C
binary_sensor.sensor_front_door_contact 'sensor front door Door' = off
binary_sensor.sensor_front_outside_door_contact 'sensor front outside door Door' = off
binary_sensor.sensor_back_outside_door_contact 'sensor back outside door Door' = off
binary_sensor.sensor_chillingroom_door_contact 'Sensor Chillingroom door Door' = on;28C
switch.plug_office_fosi 'plug office fosi' = on
switch.plug_chillingroom_fosi 'plug chillingroom fosi' = on
switch.plug_hallway_tablet 'plug hallway tablet' = off
switch.plug_kitchen_uv_lamp 'plug kitchen uv lamp' = off
switch.plug_closet_fan 'plug closet fan' = off
switch.plug_hotbox_fairy_light 'plug Hotbox fairy light' = off
switch.plug_back_door_horn 'plug back door horn' = off
switch.plug_front_door_horn 'plug front door horn' = off
switch.plug_livingroom_fosi 'plug livingroom fosi' = on
cover.cover_office_blinds 'cover office blinds' = open
cover.cover_bedroom_blinds 'cover bedroom Blinds' = open
cover.cover_kitchen_blinds 'Cover kitchen blinds' = open
cover.cover_livingroom_blinds 'cover livingroom blinds' = open
media_player.nestmini3214 'Living Room speaker' = off
light.chillingroom_christmas_tree_light 'Christmas Tree' = on;antiquewhite (255, 236, 220);100%
light.chillingroom_christmas_tree_light 'The Tree' = on;antiquewhite (255, 236, 220);100%
light.chillingroom_christmas_tree_light 'Christmas Tree' = on;antiquewhite (255, 236, 220);100%
binary_sensor.maxi_is_listening 'maxi is listening' = unavailable
light.7 'None' = unavailable
media_player.plex_plex_cast_chromecast_21 'Plex (Plex Cast - Chromecast)' = unavailable
sensor.maxi_current_activity_v2 'Maxi current Activity V2' = Using the Computer
sensor.maxi_current_activity_v2 'What maxi is doing' = Using the Computer
sensor.maxi_current_activity_v2 'Maxi current activity' = Using the Computer
sensor.maxi_current_activity_v2 'Maxi's activity' = Using the Computer
sensor.sensor_closet_temperature_temperature 'Sensor Closet temperature Temperature' = 25.22 °C;25C;53.69%
sensor.sensor_closet_temperature_humidity 'Sensor Closet temperature Humidity' = 53.69 %;25C;53.69%
## Area: Bathroom
light.group_bathroom_lights 'group_bathroom_lights' = off;
light.group_bathroom_lights 'Bathroom Lights' = off;
## Area: Bedroom
light.group_bedroom_lights 'Group Bedroom Lights' = on;antiquewhite (255, 237, 222);100%
light.group_bedroom_lights 'Bedroom Lights' = on;antiquewhite (255, 237, 222);100%
## Area: ChillingRoom
media_player.universal_chillingroom_speakers 'Universal chillingroom Speakers' = playing;Viva la vida;vol=35
light.group_chillingroom_lights 'group_chillingroom_lights' = on;oldlace (255, 242, 232);100%
light.group_chillingroom_lights 'Chilling room Lights' = on;oldlace (255, 242, 232);100%
light.group_chillingroom_lights 'Chillingroom lights' = on;oldlace (255, 242, 232);100%
## Area: Closet
light.group_closet_lights 'Group Closet Lights' = on;bisque (255, 223, 197);1%
light.group_closet_lights 'Closet Lights' = on;bisque (255, 223, 197);1%
## Area: Entrance
light.group_entrance_lights 'group_entrance_lights' = off;
light.group_entrance_lights 'Entrance Lights' = off;
## Area: Hallway
media_player.universal_hallway_speakers 'Universal Hallway Speakers' = off;
light.group_hallway_lights 'group_hallway_lights' = on;antiquewhite (255, 237, 222);100%
light.group_hallway_lights 'Hallway Lights' = on;antiquewhite (255, 237, 222);100%
## Area: Hotbox
light.group_hotbox_lights 'Group Hotbox Lights' = off;
light.group_hotbox_lights 'Hotbox Lights' = off;
## Area: Hotbox Down
media_player.universal_hotbox_down_chromecast 'Universal hotbox down chromecast' = unavailable;
light.group_hotbox_down_lights 'group_hotbox_down_lights' = off;
light.group_hotbox_down_lights 'Hotbox Down Lights' = off;
light.group_hotbox_down_lights 'Hot box down Lights' = off;
media_player.universal_hotbox_down_speakers 'Universal hotbox down Speakers' = unavailable;
## Area: Hotbox Top
media_player.universal_hotbox_top_chromecast 'Universal hotbox top chromecast' = off;
light.group_hotbox_top_lights 'group_hotbox_top_lights' = off;
light.group_hotbox_top_lights 'Hotbox top Lights' = off;
light.group_hotbox_top_lights 'Hot Box top Lights' = off;
media_player.universal_hotbox_top_speakers 'Universal hotbox top Speakers' = unavailable;
## Area: Kitchen
media_player.universal_kitchen_speakers 'Universal kitchen Speakers' = playing;Viva la vida;vol=30
light.group_kitchen_lights 'group_kitchen_lights' = off;
light.group_kitchen_lights 'Kitchen Lights' = off;
## Area: LivingRoom
media_player.universal_livingroom_speakers 'Universal livingroom Speakers' = playing;Viva la vida;vol=42
media_player.universal_livingroom_chromecast 'Universal livingroom chromecast' = off;
light.group_livingroom_lights 'group_livingroom_lights' = on;antiquewhite (255, 237, 221);100%
light.group_livingroom_lights 'Livingroom Lights' = on;antiquewhite (255, 237, 221);100%
light.group_livingroom_lights 'Living room Lights' = on;antiquewhite (255, 237, 221);100%
## Area: Office
media_player.universal_office_speakers 'Universal office Speakers' = playing;Viva la vida;vol=35
media_player.universal_office_speakers 'Office Speakers' = playing;Viva la vida;vol=35
media_player.universal_office_chromecast 'Universal office chromecast' = off;
light.group_office_lights 'group_office_lights' = on;antiquewhite (255, 237, 221);100%
light.group_office_lights 'Office Lights' = on;antiquewhite (255, 237, 221);100%
## Area: Patio
media_player.universal_patio_chromecast 'Universal patio chromecast' = off;
light.group_patio_lights 'Group Patio Lights' = off;
light.group_patio_lights 'Patio Lights' = off;
## Area: server
light.group_server_lights 'group_server_lights' = off;
light.group_server_lights 'Server Lights' = off;
Can you press play on media_player.mass_closet_airplay_wiim_speaker
Starting media playback.
<functioncall> {"name":"HassMediaUnpause","arguments":{"name":"media_player.mass_closet_airplay_wiim_speaker"}}
Can you turn on media_player.mass_closet_airplay_wiim_speaker
Turning on the media player for you.
<functioncall> {"name":"HassTurnOn","arguments":{"name":"media_player.mass_closet_airplay_wiim_speaker"}}
Play the next thing on media_player.mass_closet_airplay_wiim_speaker
Skipping to the next track.
<functioncall> {"name":"HassMediaNext","arguments":{"name":"media_player.mass_closet_airplay_wiim_speaker"}}
Start the vacuum called vacuum.xiaomi_vacuum_cleaner
Starting the vacuum now.
<functioncall> {"name":"HassVacuumStart","arguments":{"name":"vacuum.xiaomi_vacuum_cleaner"}}
Make the lights in Bathroom mediumvioletred
The color should be changed now.
<functioncall> {"name":"HassLightSet","arguments":{"area":"Bathroom","color":"mediumvioletred"}}
Set the brightness for light.group_server_lights to 0.31
Setting the brightness now.
<functioncall> {"name":"HassLightSet","arguments":{"name":"light.group_server_lights","brightness":0.31}}
Turn off the switches in Hotbox Down
Turning off the devices as requested.
<functioncall> {"name":"HassTurnOff","arguments":{"area":"Hotbox Down"}}
Hit toggle for the lights in Hotbox Down
Toggling the lights in the Hotbox Down for you.
<functioncall> {"name":"HassToggle","arguments":{"area":"Hotbox Down"}}
Turn on the switch.kitchen_tablet_screensaver
Turning on the switch for you.
<functioncall> {"name":"HassTurnOn","arguments":{"name":"switch.kitchen_tablet_screensaver"}}
Turn the light.group_server_lights light on
Turning on the light for you.
<functioncall> {"name":"HassTurnOn","arguments":{"name":"light.group_server_lights"}}<|im_end|>
<|im_start|>user
What is maxi doing currently?<|im_end|>
<|im_start|>assistant
5:26PM DBG Prompt (after templating): <|im_start|>system
You are 'Beam', a helpful AI Assistant that controls the devices in a house.
You can also compound given data to infer state of things And current events.
Complete the following task as instructed with the information provided only.
The current time and date is 05:26 PM on Friday July 19, 2024
Tools: [{"type":"function","function":{"name":"HassTurnOn","description":"Turns on/opens a device or entity","parameters":{"type":"object","properties":{"name":{"type":"string","description":""},"area":{"type":"string","description":""},"floor":{"type":"string","description":""},"domain":{"type":"string","description":""},"device_class":{"type":"string","description":""}},"required":[]}}},{"type":"function","function":{"name":"HassTurnOff","description":"Turns off/closes a device or entity","parameters":{"type":"object","properties":{"name":{"type":"string","description":""},"area":{"type":"string","description":""},"floor":{"type":"string","description":""},"domain":{"type":"string","description":""},"device_class":{"type":"string","description":""}},"required":[]}}},{"type":"function","function":{"name":"HassSetPosition","description":"Sets the position of a device or entity","parameters":{"type":"object","properties":{"name":{"type":"string","description":""},"area":{"type":"string","description":""},"floor":{"type":"string","description":""},"domain":{"type":"string","description":""},"device_class":{"type":"string","description":""},"position":{"type":"integer","description":""}},"required":["position"]}}},{"type":"function","function":{"name":"HassMediaUnpause","description":"Resumes a media player","parameters":{"type":"object","properties":{"name":{"type":"string","description":""},"area":{"type":"string","description":""},"floor":{"type":"string","description":""},"domain":{"type":"string","description":""},"device_class":{"type":"string","description":""}},"required":[]}}},{"type":"function","function":{"name":"HassMediaPause","description":"Pauses a media player","parameters":{"type":"object","properties":{"name":{"type":"string","description":""},"area":{"type":"string","description":""},"floor":{"type":"string","description":""},"domain":{"type":"string","description":""},"device_class":{"type":"string","description":""}},"required":[]}}},{"type":"function","function":{"name":"HassMediaNext","description":"Skips a media player to the next item","parameters":{"type":"object","properties":{"name":{"type":"string","description":""},"area":{"type":"string","description":""},"floor":{"type":"string","description":""},"domain":{"type":"string","description":""},"device_class":{"type":"string","description":""}},"required":[]}}},{"type":"function","function":{"name":"HassMediaPrevious","description":"Replays the previous item for a media player","parameters":{"type":"object","properties":{"name":{"type":"string","description":""},"area":{"type":"string","description":""},"floor":{"type":"string","description":""},"domain":{"type":"string","description":""},"device_class":{"type":"string","description":""}},"required":[]}}},{"type":"function","function":{"name":"HassSetVolume","description":"Sets the volume of a media player","parameters":{"type":"object","properties":{"name":{"type":"string","description":""},"area":{"type":"string","description":""},"floor":{"type":"string","description":""},"domain":{"type":"string","description":""},"device_class":{"type":"string","description":""},"volume_level":{"type":"integer","description":""}},"required":["volume_level"]}}},{"type":"function","function":{"name":"HassLightSet","description":"Sets the brightness or color of a light","parameters":{"type":"object","properties":{"name":{"type":"string","description":""},"area":{"type":"string","description":""},"floor":{"type":"string","description":""},"domain":{"type":"string","description":""},"device_class":{"type":"string","description":""},"color":{"type":"string","description":""},"temperature":{"type":"integer","description":""},"brightness":{"type":"integer","description":""}},"required":[]}}},{"type":"function","function":{"name":"MassPlayMediaOnMediaPlayer","description":"Execute Home Assistant MassPlayMediaOnMediaPlayer intent","parameters":{"type":"object","properties":{"name":{"type":"string","description":""},"area":{"type":"string","description":""},"query":{"type":"string","description":""},"artist":{"type":"string","description":""},"track":{"type":"string","description":""},"album":{"type":"string","description":""}},"required":[]}}},{"type":"function","function":{"name":"HassVacuumStart","description":"Starts a vacuum","parameters":{"type":"object","properties":{"name":{"type":"string","description":""},"area":{"type":"string","description":""},"floor":{"type":"string","description":""},"domain":{"type":"string","description":""},"device_class":{"type":"string","description":""}},"required":[]}}},{"type":"function","function":{"name":"HassVacuumReturnToBase","description":"Returns a vacuum to base","parameters":{"type":"object","properties":{"name":{"type":"string","description":""},"area":{"type":"string","description":""},"floor":{"type":"string","description":""},"domain":{"type":"string","description":""},"device_class":{"type":"string","description":""}},"required":[]}}}]
Devices:
person.maximiliano 'Maxi' = home
person.maximiliano 'Maximiliano' = home
person.myriam 'Myriam' = not_home
person.carla 'Carla' = not_home
person.fay 'Fay' = home
person.cindy 'Cindy' = unknown
cover.group_all_blinds 'All Blinds' = open
cover.group_all_blinds 'all windows' = open
cover.group_all_blinds 'all the blinds' = open
cover.group_all_blinds 'all the windows' = open
cover.group_all_blinds 'all blinds' = open
binary_sensor.all_present_sleeping 'All Present Sleeping' = off
binary_sensor.maxi_is_talking 'maxi is talking' = off
sensor.maxis_current_game 'Maxis Current Game' = idle
sensor.amount_partners_home 'amount partners home' = 0 partners
sensor.amount_friends_home 'amount friends home' = 0 friends
sensor.which_friends_home 'which friends home' = ['Koopa', 'Fay laptop']
sensor.amount_people_home 'amount people home' = 2 person(s)
sensor.total_amount_people_home 'total amount people home' = 3
sensor.total_amount_people_home 'Total Amount of people at home' = 3
sensor.last_active_room 'last active room' = office
sensor.active_sleeper_rooms 'active_sleeper_rooms' = ['hotbox']
sensor.active_sleeper_amount 'active_sleeper_amount' = 1
sensor.active_chromecast_rooms 'active_chromecast_rooms' = []
sensor.active_speakers_rooms 'active_speakers_rooms' = ['livingroom', 'office', 'chillingroom', 'kitchen']
sensor.is_maxi_asleep 'Is maxi asleep?' = awake
sensor.maxi_location_v3 'Maxi Location v3' = office
sensor.maxi_location_v3 'Maxi's Location' = office
sensor.maxi_location_v3 'Location of maxi' = office
input_boolean.acid_time 'Acid Time' = off
input_boolean.acid_time 'Acid Time.' = off
input_boolean.acid_time 'Acid Mode' = off
binary_sensor.motion_home 'Motion Home' = on
media_player.universal_home_speakers 'Universal Home Speakers' = playing;Viva la vida
light.hotbox_down_lavalamp 'Hotbox_Down_lavaLamp' = unavailable
light.group_all_inside_lights 'All inside lights' = on;antiquewhite (255, 237, 221);100%
light.group_all_inside_lights 'All the inside lights' = on;antiquewhite (255, 237, 221);100%
light.group_all_inside_lights 'Inside Lights' = on;antiquewhite (255, 237, 221);100%
light.group_all_inside_lights 'All Inside Lights' = on;antiquewhite (255, 237, 221);100%
media_player.wiim_office_linkplay 'Office Wiim' = playing;Airplay;vol=36
media_player.wiim_kitchen_linkplay 'Kitchen Wiim' = playing;Airplay;vol=31
media_player.wiim_chillingroom_linkplay 'Chillingroom Wiim' = playing;Airplay;vol=36
climate.hotbox_ac 'Hotbox Thermostat' = cool;24C
climate.office_ac 'Office Thermostat' = cool;25C
climate.livingroom_ac 'Livingroom Thermostat' = cool;24C
climate.bedroom_ac 'Bedroom Thermostat' = cool;19C
media_player.mass_livingroom_airplay_wiim_speaker 'Livingroom Airplay Wiim' = playing;Viva la vida;vol=42
media_player.group_mass_home_airplay_speakers 'Home Group Airplay' = playing;Viva la vida;vol=35
media_player.group_mass_home_airplay_speakers 'Home Speakers' = playing;Viva la vida;vol=35
media_player.group_mass_home_airplay_speakers 'Home group' = playing;Viva la vida;vol=35
media_player.group_mass_home_airplay_speakers 'Home Group' = playing;Viva la vida;vol=35
media_player.group_mass_home_airplay_speakers 'Everywhere' = playing;Viva la vida;vol=35
media_player.mass_office_airplay_wiim_speaker 'Office Airplay Wiim' = playing;Viva la vida;vol=35
media_player.mass_chillingroom_airplay_wiim_speaker 'Chillingroom Airplay Wiim' = playing;Viva la vida;vol=35
media_player.mass_closet_airplay_wiim_speaker 'Closet Airplay Wiim' = off
media_player.mass_kitchen_airplay_wiim_speaker 'Kitchen Airplay Wiim' = playing;Viva la vida;vol=30
vacuum.xiaomi_vacuum_cleaner 'Roborock S6 Pure' = docked
switch.bathroom_fan 'Bathroom Fan' = off
switch.kitchen_tablet_screensaver 'Kitchen Tablet Screensaver' = off
switch.kitchen_tablet_screen 'Kitchen Tablet Screen' = on
light.group_all_zigbee_lights 'group_all_zigbee_lights' = on;antiquewhite (255, 237, 222);100%
light.bathroom_window_light 'Bathroom Window light' = off
light.office_lamp1_light 'office lamp1 light' = on;magenta (234, 0, 255);100%
light.office_lamp2_light 'office lamp2 light' = on;antiquewhite (255, 237, 222);100%
light.office_tv_light 'office tv light' = on;antiquewhite (255, 237, 222);100%
light.quotra_office_light 'quotra office light' = unavailable
light.hallway_light 'hallway light' = on;antiquewhite (255, 237, 222);100%
light.kitchen_1_light 'kitchen 1 light' = off
light.kitchen_2_light 'kitchen 2 light' = off
light.kitchen_3_light 'kitchen 3 light' = off
light.livingroom_center_light 'LivingRoom Center light' = on;antiquewhite (255, 237, 222);100%
light.quotra_livingroom_light 'Quotra livingroom light' = on;antiquewhite (255, 237, 222);100%
light.livingroom_tv_light 'livingroom tv light' = on;antiquewhite (255, 237, 222);100%
light.livingroom_window_light 'livingroom window light' = on;antiquewhite (255, 237, 222);100%
light.server_light 'server light' = off
light.workstation_light 'workstation light' = on;antiquewhite (255, 237, 222);100%
light.entrance_light 'entrance light' = off
light.patio_string_bulb_06 'Patio String bulb 06' = off
light.patio_string_bulb_08 'Patio String bulb 08' = off
light.patio_string_bulb_09 'Patio String bulb 09' = off
binary_sensor.patio_camera_motion 'Patio Camera Motion' = on
binary_sensor.faceshot_camera_motion 'Faceshot Camera Motion' = off
binary_sensor.front_door_camera_motion 'Front Door Camera Motion' = on
light.patio_string_bulb_10 'Patio String bulb 10' = off
light.patio_string_bulb_11 'Patio String bulb 11' = off
light.patio_string_bulb_12 'Patio String bulb 12' = off
light.patio_string_bulb_01 'Patio string bulb 01' = off
light.patio_string_bulb_02 'Patio string bulb 02' = off
light.patio_string_bulb_03 'Patio string bulb 03' = off
light.patio_string_bulb_04 'Patio string bulb 04' = off
light.hotbox_down_behind_tv_light 'hotbox down behind tv light' = off
light.hotbox_down_light 'hotbox down light' = off
light.bathroom_door_light 'Bathroom Door Light' = off
light.bedroom_chandelier_light 'bedroom chandelier light' = on;antiquewhite (255, 237, 222);100%
light.front_door_light 'front door light' = off
light.chillingroom_ceiling_light 'ChillingRoom ceiling Light' = on;antiquewhite (255, 237, 222);100%
light.patio_string_bulb_05 'Patio string bulb 05' = off
light.patio_string_bulb_07 'Patio string bulb 07' = off
sensor.sensor_bathroom_temperature_temperature 'sensor bathroom temperature Temperature' = 25.9 °C;25C;50.2%
sensor.sensor_bathroom_temperature_humidity 'sensor bathroom temperature Humidity' = 50.2 %;25C;50.2%
sensor.sensor_office_temperature_temperature 'sensor office temperature Temperature' = 23.94 °C;23C;50.23%
sensor.sensor_office_temperature_humidity 'sensor office temperature Humidity' = 50.23 %;23C;50.23%
sensor.sensor_bedroom_temperature_temperature 'sensor bedroom temperature Temperature' = 23.66 °C;23C;59%
sensor.sensor_bedroom_temperature_humidity 'sensor bedroom temperature Humidity' = 59 %;23C;59%
sensor.sensor_livingroom_temperature_temperature 'sensor livingroom temperature Temperature' = 23.9 °C;23C;44.9%
sensor.sensor_livingroom_temperature_humidity 'sensor livingroom temperature Humidity' = 44.9 %;23C;44.9%
sensor.sensor_hotbox_down_temperature_temperature 'sensor hotbox down temperature Temperature' = 24 °C;24C;37.7%
sensor.sensor_hotbox_down_temperature_humidity 'sensor hotbox down temperature Humidity' = 37.7 %;24C;37.7%
sensor.sensor_stove_temperature_temperature 'sensor stove temperature Temperature' = 27.62 °C;27C;47.61%
sensor.sensor_stove_temperature_humidity 'sensor stove temperature Humidity' = 47.61 %;27C;47.61%
sensor.sensor_outside_temperature_temperature 'sensor outside temperature Temperature' = 24.53 °C;24C;54.08%
sensor.sensor_outside_temperature_humidity 'sensor outside temperature Humidity' = 54.08 %;24C;54.08%
binary_sensor.sensor_bathroom_door_contact 'Sensor bathroom Door Door' = on
binary_sensor.sensor_bedroom_door_contact 'sensor bedroom door Door' = on;30C
binary_sensor.sensor_server_door_contact 'sensor server door Door' = on
binary_sensor.sensor_closet_fp1_presence 'Sensor Closet FP1 Presence' = on;21C
binary_sensor.sensor_patio_door_contact 'sensor patio door Door' = off;23C
binary_sensor.sensor_fridge_door_contact 'Sensor Fridge door Door' = off;30C
binary_sensor.sensor_front_door_contact 'sensor front door Door' = off
binary_sensor.sensor_front_outside_door_contact 'sensor front outside door Door' = off
binary_sensor.sensor_back_outside_door_contact 'sensor back outside door Door' = off
binary_sensor.sensor_chillingroom_door_contact 'Sensor Chillingroom door Door' = on;28C
switch.plug_office_fosi 'plug office fosi' = on
switch.plug_chillingroom_fosi 'plug chillingroom fosi' = on
switch.plug_hallway_tablet 'plug hallway tablet' = off
switch.plug_kitchen_uv_lamp 'plug kitchen uv lamp' = off
switch.plug_closet_fan 'plug closet fan' = off
switch.plug_hotbox_fairy_light 'plug Hotbox fairy light' = off
switch.plug_back_door_horn 'plug back door horn' = off
switch.plug_front_door_horn 'plug front door horn' = off
switch.plug_livingroom_fosi 'plug livingroom fosi' = on
cover.cover_office_blinds 'cover office blinds' = open
cover.cover_bedroom_blinds 'cover bedroom Blinds' = open
cover.cover_kitchen_blinds 'Cover kitchen blinds' = open
cover.cover_livingroom_blinds 'cover livingroom blinds' = open
media_player.nestmini3214 'Living Room speaker' = off
light.chillingroom_christmas_tree_light 'Christmas Tree' = on;antiquewhite (255, 236, 220);100%
light.chillingroom_christmas_tree_light 'The Tree' = on;antiquewhite (255, 236, 220);100%
light.chillingroom_christmas_tree_light 'Christmas Tree' = on;antiquewhite (255, 236, 220);100%
binary_sensor.maxi_is_listening 'maxi is listening' = unavailable
light.7 'None' = unavailable
media_player.plex_plex_cast_chromecast_21 'Plex (Plex Cast - Chromecast)' = unavailable
sensor.maxi_current_activity_v2 'Maxi current Activity V2' = Using the Computer
sensor.maxi_current_activity_v2 'What maxi is doing' = Using the Computer
sensor.maxi_current_activity_v2 'Maxi current activity' = Using the Computer
sensor.maxi_current_activity_v2 'Maxi's activity' = Using the Computer
sensor.sensor_closet_temperature_temperature 'Sensor Closet temperature Temperature' = 25.22 °C;25C;53.69%
sensor.sensor_closet_temperature_humidity 'Sensor Closet temperature Humidity' = 53.69 %;25C;53.69%
## Area: Bathroom
light.group_bathroom_lights 'group_bathroom_lights' = off;
light.group_bathroom_lights 'Bathroom Lights' = off;
## Area: Bedroom
light.group_bedroom_lights 'Group Bedroom Lights' = on;antiquewhite (255, 237, 222);100%
light.group_bedroom_lights 'Bedroom Lights' = on;antiquewhite (255, 237, 222);100%
## Area: ChillingRoom
media_player.universal_chillingroom_speakers 'Universal chillingroom Speakers' = playing;Viva la vida;vol=35
light.group_chillingroom_lights 'group_chillingroom_lights' = on;oldlace (255, 242, 232);100%
light.group_chillingroom_lights 'Chilling room Lights' = on;oldlace (255, 242, 232);100%
light.group_chillingroom_lights 'Chillingroom lights' = on;oldlace (255, 242, 232);100%
## Area: Closet
light.group_closet_lights 'Group Closet Lights' = on;bisque (255, 223, 197);1%
light.group_closet_lights 'Closet Lights' = on;bisque (255, 223, 197);1%
## Area: Entrance
light.group_entrance_lights 'group_entrance_lights' = off;
light.group_entrance_lights 'Entrance Lights' = off;
## Area: Hallway
media_player.universal_hallway_speakers 'Universal Hallway Speakers' = off;
light.group_hallway_lights 'group_hallway_lights' = on;antiquewhite (255, 237, 222);100%
light.group_hallway_lights 'Hallway Lights' = on;antiquewhite (255, 237, 222);100%
## Area: Hotbox
light.group_hotbox_lights 'Group Hotbox Lights' = off;
light.group_hotbox_lights 'Hotbox Lights' = off;
## Area: Hotbox Down
media_player.universal_hotbox_down_chromecast 'Universal hotbox down chromecast' = unavailable;
light.group_hotbox_down_lights 'group_hotbox_down_lights' = off;
light.group_hotbox_down_lights 'Hotbox Down Lights' = off;
light.group_hotbox_down_lights 'Hot box down Lights' = off;
media_player.universal_hotbox_down_speakers 'Universal hotbox down Speakers' = unavailable;
## Area: Hotbox Top
media_player.universal_hotbox_top_chromecast 'Universal hotbox top chromecast' = off;
light.group_hotbox_top_lights 'group_hotbox_top_lights' = off;
light.group_hotbox_top_lights 'Hotbox top Lights' = off;
light.group_hotbox_top_lights 'Hot Box top Lights' = off;
media_player.universal_hotbox_top_speakers 'Universal hotbox top Speakers' = unavailable;
## Area: Kitchen
media_player.universal_kitchen_speakers 'Universal kitchen Speakers' = playing;Viva la vida;vol=30
light.group_kitchen_lights 'group_kitchen_lights' = off;
light.group_kitchen_lights 'Kitchen Lights' = off;
## Area: LivingRoom
media_player.universal_livingroom_speakers 'Universal livingroom Speakers' = playing;Viva la vida;vol=42
media_player.universal_livingroom_chromecast 'Universal livingroom chromecast' = off;
light.group_livingroom_lights 'group_livingroom_lights' = on;antiquewhite (255, 237, 221);100%
light.group_livingroom_lights 'Livingroom Lights' = on;antiquewhite (255, 237, 221);100%
light.group_livingroom_lights 'Living room Lights' = on;antiquewhite (255, 237, 221);100%
## Area: Office
media_player.universal_office_speakers 'Universal office Speakers' = playing;Viva la vida;vol=35
media_player.universal_office_speakers 'Office Speakers' = playing;Viva la vida;vol=35
media_player.universal_office_chromecast 'Universal office chromecast' = off;
light.group_office_lights 'group_office_lights' = on;antiquewhite (255, 237, 221);100%
light.group_office_lights 'Office Lights' = on;antiquewhite (255, 237, 221);100%
## Area: Patio
media_player.universal_patio_chromecast 'Universal patio chromecast' = off;
light.group_patio_lights 'Group Patio Lights' = off;
light.group_patio_lights 'Patio Lights' = off;
## Area: server
light.group_server_lights 'group_server_lights' = off;
light.group_server_lights 'Server Lights' = off;
Can you press play on media_player.mass_closet_airplay_wiim_speaker
Starting media playback.
<functioncall> {"name":"HassMediaUnpause","arguments":{"name":"media_player.mass_closet_airplay_wiim_speaker"}}
Can you turn on media_player.mass_closet_airplay_wiim_speaker
Turning on the media player for you.
<functioncall> {"name":"HassTurnOn","arguments":{"name":"media_player.mass_closet_airplay_wiim_speaker"}}
Play the next thing on media_player.mass_closet_airplay_wiim_speaker
Skipping to the next track.
<functioncall> {"name":"HassMediaNext","arguments":{"name":"media_player.mass_closet_airplay_wiim_speaker"}}
Start the vacuum called vacuum.xiaomi_vacuum_cleaner
Starting the vacuum now.
<functioncall> {"name":"HassVacuumStart","arguments":{"name":"vacuum.xiaomi_vacuum_cleaner"}}
Make the lights in Bathroom mediumvioletred
The color should be changed now.
<functioncall> {"name":"HassLightSet","arguments":{"area":"Bathroom","color":"mediumvioletred"}}
Set the brightness for light.group_server_lights to 0.31
Setting the brightness now.
<functioncall> {"name":"HassLightSet","arguments":{"name":"light.group_server_lights","brightness":0.31}}
Turn off the switches in Hotbox Down
Turning off the devices as requested.
<functioncall> {"name":"HassTurnOff","arguments":{"area":"Hotbox Down"}}
Hit toggle for the lights in Hotbox Down
Toggling the lights in the Hotbox Down for you.
<functioncall> {"name":"HassToggle","arguments":{"area":"Hotbox Down"}}
Turn on the switch.kitchen_tablet_screensaver
Turning on the switch for you.
<functioncall> {"name":"HassTurnOn","arguments":{"name":"switch.kitchen_tablet_screensaver"}}
Turn the light.group_server_lights light on
Turning on the light for you.
<functioncall> {"name":"HassTurnOn","arguments":{"name":"light.group_server_lights"}}<|im_end|>
<|im_start|>user
What is maxi doing currently?<|im_end|>
<|im_start|>assistant
5:26PM DBG Model already loaded in memory: b5869d55688a529c3738cb044e92c331
5:26PM DBG Model 'b5869d55688a529c3738cb044e92c331' already loaded
5:26PM DBG GRPC(b5869d55688a529c3738cb044e92c331-127.0.0.1:40379): stderr sampling:
5:26PM DBG GRPC(b5869d55688a529c3738cb044e92c331-127.0.0.1:40379): stdout {"timestamp":1721410003,"level":"INFO","function":"launch_slot_with_data","line":884,"message":"slot is processing task","slot_id":0,"task_id":343}
5:26PM DBG GRPC(b5869d55688a529c3738cb044e92c331-127.0.0.1:40379): stderr repeat_last_n = 0, repeat_penalty = 0.000, frequency_penalty = 0.000, presence_penalty = 0.000
5:26PM DBG GRPC(b5869d55688a529c3738cb044e92c331-127.0.0.1:40379): stderr top_k = 40, tfs_z = 1.000, top_p = 1.000, min_p = 0.050, typical_p = 1.000, temp = 0.100
5:26PM DBG GRPC(b5869d55688a529c3738cb044e92c331-127.0.0.1:40379): stderr mirostat = 2, mirostat_lr = 0.100, mirostat_ent = 5.000
5:26PM DBG GRPC(b5869d55688a529c3738cb044e92c331-127.0.0.1:40379): stdout {"timestamp":1721410003,"level":"INFO","function":"update_slots","line":1785,"message":"kv cache rm [p0, end)","slot_id":0,"task_id":343,"p0":0}
5:26PM DBG GRPC(b5869d55688a529c3738cb044e92c331-127.0.0.1:40379): stdout {"timestamp":1721410005,"level":"INFO","function":"print_timings","line":327,"message":"prompt eval time = 2061.91 ms / 5647 tokens ( 0.37 ms per token, 2738.72 tokens per second)","slot_id":0,"task_id":343,"t_prompt_processing":2061.912,"num_prompt_tokens_processed":5647,"t_token":0.3651340534797237,"n_tokens_second":2738.7201781647327}
5:26PM DBG GRPC(b5869d55688a529c3738cb044e92c331-127.0.0.1:40379): stdout {"timestamp":1721410005,"level":"INFO","function":"print_timings","line":341,"message":"generation eval time = 165.67 ms / 9 runs ( 18.41 ms per token, 54.32 tokens per second)","slot_id":0,"task_id":343,"t_token_generation":165.672,"n_decoded":9,"t_token":18.408,"n_tokens_second":54.32420686657975}
5:26PM DBG GRPC(b5869d55688a529c3738cb044e92c331-127.0.0.1:40379): stdout {"timestamp":1721410005,"level":"INFO","function":"print_timings","line":351,"message":" total time = 2227.58 ms","slot_id":0,"task_id":343,"t_prompt_processing":2061.912,"t_token_generation":165.672,"t_total":2227.584}
5:26PM DBG GRPC(b5869d55688a529c3738cb044e92c331-127.0.0.1:40379): stdout {"timestamp":1721410005,"level":"INFO","function":"update_slots","line":1596,"message":"slot released","slot_id":0,"task_id":343,"n_ctx":8192,"n_past":5655,"n_system_tokens":0,"n_cache_tokens":5656,"truncated":false}
5:26PM DBG Response: {"created":1721409506,"object":"chat.completion","id":"ec7ced3e-4480-4b40-93b6-bf45e964dda1","model":"gpt-4","choices":[{"index":0,"finish_reason":"stop","message":{"role":"assistant","content":"Maxi is currently using the computer."}}],"usage":{"prompt_tokens":5647,"completion_tokens":9,"total_tokens":5656}}
5:26PM INF Success ip=192.168.0.15 latency=2.233860436s method=POST status=200 url=/v1/chat/completions
These are my Home-LLM configuration:
Thanks for reading!
The text was updated successfully, but these errors were encountered:
I know this is an old issue, but it might be the service call regex. The default one looks like it just matches any text lmao. Try change it from ([\S \t\n]*?) to ({[\S \t\n]*?}) and then it will only match JSON objects.
Describe the bug
When asking anything "Unexpected error during intent recognition" is returned, even tho I see the LocalAI logs showing that the LLM provided an answer:
[{"index":0,"finish_reason":"stop","message":{"role":"assistant","content":"Maxi is currently using the computer."}}]
Expected behavior
A working answer
Logs
If applicable, please upload any error or debug logs output by Home Assistant.
LocalAI Logs:
These are my Home-LLM configuration:
Thanks for reading!
The text was updated successfully, but these errors were encountered: