Home Assistant Unofficial Reference 2024.12.1
llm.py File Reference

Go to the source code of this file.

Classes

class  homeassistant.helpers.llm.API
 
class  homeassistant.helpers.llm.APIInstance
 
class  homeassistant.helpers.llm.AssistAPI
 
class  homeassistant.helpers.llm.IntentTool
 
class  homeassistant.helpers.llm.LLMContext
 
class  homeassistant.helpers.llm.ScriptTool
 
class  homeassistant.helpers.llm.Tool
 
class  homeassistant.helpers.llm.ToolInput
 

Namespaces

 homeassistant.helpers.llm
 

Functions

dict[str, API] homeassistant.helpers.llm._async_get_apis (HomeAssistant hass)
 
tuple[str|None, vol.Schema] homeassistant.helpers.llm._get_cached_script_parameters (HomeAssistant hass, str entity_id)
 
dict[str, dict[str, Any]] homeassistant.helpers.llm._get_exposed_entities (HomeAssistant hass, str assistant)
 
Any homeassistant.helpers.llm._selector_serializer (Any schema)
 
APIInstance homeassistant.helpers.llm.async_get_api (HomeAssistant hass, str api_id, LLMContext llm_context)
 
list[API] homeassistant.helpers.llm.async_get_apis (HomeAssistant hass)
 
None homeassistant.helpers.llm.async_register_api (HomeAssistant hass, API api)
 
str homeassistant.helpers.llm.async_render_no_api_prompt (HomeAssistant hass)
 

Variables

tuple homeassistant.helpers.llm.BASE_PROMPT
 
string homeassistant.helpers.llm.DEFAULT_INSTRUCTIONS_PROMPT
 
string homeassistant.helpers.llm.LLM_API_ASSIST = "assist"