Hi Guys,
I'm trying to build on the great work of ViewAssist (VA), to include better support for LLMs and in particular OpenAi. My plan was to use modified ViewAssist scripts to help the LLM set the correct modes for VA. However, I'm finding that even a simple weather request is being unreliable in so far as it sometimes calls my script but most of the time doesn't. I also find that sometimes I ask the LLM what script was used for the last (failed) response and it states that the script WAS used but HA doesn't show any trigger.
My method is to expose the script to the LLM and then write a description for the script like this:
This script is used with viewassist to switch the current display to the weather view.
The tool takes the following arguments: area. area is always required and must be supplied.
Use this tool whenever the user requests information about weather - such as the weather forecast
or outside temperature.
Is this the correct approach and the problem is unpredicable LLM responses, or, do I need specific elements in my script to make this work?