Variables | |
| string | CONF_KEEP_ALIVE = "keep_alive" |
| string | CONF_MAX_HISTORY = "max_history" |
| string | CONF_MODEL = "model" |
| string | CONF_NUM_CTX = "num_ctx" |
| string | CONF_PROMPT = "prompt" |
| int | DEFAULT_KEEP_ALIVE = -1 |
| int | DEFAULT_MAX_HISTORY = 20 |
| string | DEFAULT_MODEL = "llama3.2:latest" |
| int | DEFAULT_NUM_CTX = 8192 |
| float | DEFAULT_TIMEOUT = 5.0 |
| string | DOMAIN = "ollama" |
| int | KEEP_ALIVE_FOREVER = -1 |
| int | MAX_HISTORY_SECONDS = 60 * 60 |
| int | MAX_NUM_CTX = 131072 |
| int | MIN_NUM_CTX = 2048 |
| list | MODEL_NAMES |
Constants for the Ollama integration.
| string homeassistant.components.ollama.const.CONF_KEEP_ALIVE = "keep_alive" |
| string homeassistant.components.ollama.const.CONF_MAX_HISTORY = "max_history" |
| string homeassistant.components.ollama.const.CONF_MODEL = "model" |
| string homeassistant.components.ollama.const.CONF_NUM_CTX = "num_ctx" |
| string homeassistant.components.ollama.const.CONF_PROMPT = "prompt" |
| int homeassistant.components.ollama.const.DEFAULT_KEEP_ALIVE = -1 |
| int homeassistant.components.ollama.const.DEFAULT_MAX_HISTORY = 20 |
| string homeassistant.components.ollama.const.DEFAULT_MODEL = "llama3.2:latest" |
| int homeassistant.components.ollama.const.DEFAULT_NUM_CTX = 8192 |
| float homeassistant.components.ollama.const.DEFAULT_TIMEOUT = 5.0 |
| string homeassistant.components.ollama.const.DOMAIN = "ollama" |
| int homeassistant.components.ollama.const.KEEP_ALIVE_FOREVER = -1 |
| int homeassistant.components.ollama.const.MAX_HISTORY_SECONDS = 60 * 60 |
| int homeassistant.components.ollama.const.MAX_NUM_CTX = 131072 |
| int homeassistant.components.ollama.const.MIN_NUM_CTX = 2048 |