jekalmin / extended_openai_conversation

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

Migrate to native LLM API support in Home Assistant #220

Open balloob opened 1 month ago

balloob commented 1 month ago

With Home Assistant we've added native Home Assistant API support for LLMs. It's made in a way that custom integration creators are able to provide their own Home Assistant APIs for LLMs, which can then be used for Google, OpenAI (WIP) and Ollama (WIP).

You should be able to migrate the Home Assistant API from this custom integration into an API registered with the LLM helper, allowing any LLM integration to be able to leverage it plus being able to benefit from latest improvements to the OpenAI integration (like entities)

You can read more on the dev blog: https://developers.home-assistant.io/blog/2024/05/20/llm-api