I made a new template for ollama

I reviewed the default template and it doesn’t use properties that HA has now. It looks like it might be out of date. So, I made this one and wanted to share.

I’m specifically testing this with phi3-mini

I am using Ollama with Llama3, and getting very odd results with the original prompt. Asking it to list switches will return a list sometimes with state and sometime not, and it may or may not include all exposed switches. I’ve really cut down the number of devices exposed but doesn’t seem to help much.

I wonder if there are memory issues.

I tried your prompt but it didn’t see any entities.

Is there a way to debug these prompts?

Cheers, Bill