#Prompt engineering question. Force to run script.

1 messages · Page 1 of 1 (latest)

carmine grove
#

I have troubles. With my google AI.
I made a script for better zone location detection than the build in system.
Functionally everything works.

Only the AI "forgets" it should know the (last) zone and optionally room and address.

----- part of prompt----
always use the script get location to get the current zone,room,and other location information.
So dont ask for a zone if you want to run a script.

frosty orchid
carmine grove
#

O i can sent that with the script

#

Spaghetti code it is.

unborn widget
#

user id is a frontend thing, you won't be able to get a user id when using a voice satellite for example.

carmine grove
#

Voice satellite has a device id

#

Only use user id when the AI cant submit the device that was used. So the web or my cli interface

frosty orchid
#

you want to simplify the ai to only calling 1 script by some method

carmine grove
#

Roger. I look into it. Sounds logical. Anway i added a ! And now it works

#

Very strange