joselcaguilar / azure-openai-ha

Azure OpenAI Conversation for Home Assistant

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Is there some way of storing the response in e.g an attribute?

wigster opened this issue · comments

Hi,

I would like to have HA read the ChatGPT responses through TTS using a media player. Is that possible somehow, e.g. to write the response to an attribute of an entity, where there isn't a 250 character limit.

Hi @wigster, you have the possibility to check the response from Home Assistant Logger 🙂

Do you know off hand of some way of ingesting a log into HA so it can be handled as data?

Do you know off hand of some way of ingesting a log into HA so it can be handled as data?

@wigster The integration uses logger, so you can retrieve the responses from there, with that said, maybe there's another easier option with HA 2023.5.0 and v1.0.0 release + your desired TTS:

image

I'm going to close this issue once the recommendations have been provided @wigster, please feel free to re-open the issue if needed 😊