jekalmin / extended_openai_conversation

Home Assistant custom component of conversation agent. It uses OpenAI to control your devices.
829 stars 108 forks source link

No conversation.xxxx entity is created #235

Open ThreepE0 opened 1 week ago

ThreepE0 commented 1 week ago

Noticing that for the stock openai integration, there is a conversation.openai_conversation entity that is created. For this one, there isn't any.

Speculating a bit here, but I think that is hurting two bits of functionality

  1. logging: there are no entries in the logbook for conversations. If you enable debug, you can see general logs for the conversation, but for what I think is the most important bit: function calling, there are no logs other than stating that a function (not which function or what arguments) was called.
  2. Siri shortcuts: This one is a bit obscure, and I haven't tested thoroughly to see if this is the case or not, so take this with a grain of salt. I had a Siri shortcut set up that passed text into the "Assist" shortcut, and I'm pretty sure that was using OpenAI previously. With this extended OpenAI integration, it does not work. What happens is it falls back to the built-in HA conversation intent/nlu engine. I have seen a bunch of notes in forums saying that the pipeline selection is being fixed for the "Assist" Siri shortcut, so I would expect this to work. Now that I see there is no conversation entity created for the integration at all, I'm wondering if that might be why it isn't working as expected. Again, I haven't tested rolling back to OpenAI stock integration, so this may not be an accurate assessment.