#Is there anyway to get the response results from the assistant in a trigger?

1 messages · Page 1 of 1 (latest)

lavish ember
#

I've tried all kinds of events but it seems like nothing I tried is fired at all? Is there anyway to do this, for example sending the response results in a notification or log. Thank you.

nocturne rover
#

as in, what is the use case of what your trying to do?

lavish ember
nocturne rover
#

to what end?

lavish ember
#

To allow external applications to display the response

nocturne rover
#

what voice satellite are you using?

lavish ember
#

I'm using HAOS and using piper and faster-whisper using the mobile app to send voice

nocturne rover
#

ah mobile app... i was thinking that if you were using an esphome based satellite you could raise an event from esphome. but thats not a thing with mobile app

feral vault
#

You mean doing something with the response from an llm? You can send data with the Web service call, just a matter of where you want that data to come from 🙂

nocturne rover
#

I guess you could manually query the trace from the database to get the data but i am not sure how you would trigger it to go look. you could constantly check too but that feels a bit hacky

wooden sparrow
#

Don't know if this would be helpful but I am using conversation.process to pre fetch a response from ollama. My use case is to hide the delay of a larger response by getting in advance. Conversation process seems to be the easiest way to get the response text but that would be outside the normal pipeline.

feral vault
#

Yeah would want to store the response from conversation. Process into a variable to use later on I'd think

steady badger
#

I have a number of Voice PE’s and would ;ike to synchronise the TTS notifications I platu through them, any way to acieve this?