I’m creating my own chatGPT based voice assistant in node red, and I want to connect it to assist.
I was able to trigger it using the sentence node in node red with “{question}” as the sentence template, so it triggers for all assist sentences, but there is no way to send a response once it is done running.
I tried to create the same sentence intent in the configuration.yaml, so I can maybe use the intent script to wait for chatGPT to respond and relay the answer back to assist, but it did not work.
While I was messing with mine (previously the sentence had been prefaced with ‘Ask the robot {question}’ and just left it at {question} it initially appeared that my assistant would use the Home Assistant agent for sentences that I configured in yaml, then fall back to my local LLM for everything else. But after testing it more that does not seem to be the case, it just sends everything to the local LLM, which is not quite there yet in terms of controlling everything in my home.
Now I’m looking for a way to have it try Home Assistant first, then fall back for all others.
Can you share an example of your node red nodes for this? I’ve been trying to get this to work, but I don’t quite understand how the intent script works to create the node red part correctly.