Ollama run script on request

Hi, can someone tell me how can i create automation to run a script or something, like a trigger word when i have ollama running as assistant?

Maybe there is a way to set up sentences so that when you say ollama as your next word after wake word then it will send inputs to ollama and when you say something else it will send it to normal sentence component?