Home Assistant Unofficial Reference 2024.12.1
homeassistant.components.anthropic.const Namespace Reference

Variables

string CONF_CHAT_MODEL = "chat_model"
 
string CONF_MAX_TOKENS = "max_tokens"
 
string CONF_PROMPT = "prompt"
 
string CONF_RECOMMENDED = "recommended"
 
string CONF_TEMPERATURE = "temperature"
 
string DOMAIN = "anthropic"
 
 LOGGER = logging.getLogger(__package__)
 
string RECOMMENDED_CHAT_MODEL = "claude-3-haiku-20240307"
 
int RECOMMENDED_MAX_TOKENS = 1024
 
float RECOMMENDED_TEMPERATURE = 1.0
 

Detailed Description

Constants for the Anthropic integration.

Variable Documentation

◆ CONF_CHAT_MODEL

string homeassistant.components.anthropic.const.CONF_CHAT_MODEL = "chat_model"

Definition at line 10 of file const.py.

◆ CONF_MAX_TOKENS

string homeassistant.components.anthropic.const.CONF_MAX_TOKENS = "max_tokens"

Definition at line 12 of file const.py.

◆ CONF_PROMPT

string homeassistant.components.anthropic.const.CONF_PROMPT = "prompt"

Definition at line 9 of file const.py.

◆ CONF_RECOMMENDED

string homeassistant.components.anthropic.const.CONF_RECOMMENDED = "recommended"

Definition at line 8 of file const.py.

◆ CONF_TEMPERATURE

string homeassistant.components.anthropic.const.CONF_TEMPERATURE = "temperature"

Definition at line 14 of file const.py.

◆ DOMAIN

string homeassistant.components.anthropic.const.DOMAIN = "anthropic"

Definition at line 5 of file const.py.

◆ LOGGER

homeassistant.components.anthropic.const.LOGGER = logging.getLogger(__package__)

Definition at line 6 of file const.py.

◆ RECOMMENDED_CHAT_MODEL

string homeassistant.components.anthropic.const.RECOMMENDED_CHAT_MODEL = "claude-3-haiku-20240307"

Definition at line 11 of file const.py.

◆ RECOMMENDED_MAX_TOKENS

int homeassistant.components.anthropic.const.RECOMMENDED_MAX_TOKENS = 1024

Definition at line 13 of file const.py.

◆ RECOMMENDED_TEMPERATURE

float homeassistant.components.anthropic.const.RECOMMENDED_TEMPERATURE = 1.0

Definition at line 15 of file const.py.