Home Assistant Unofficial Reference 2024.12.1
const.py File Reference

Go to the source code of this file.

Namespaces

 homeassistant.components.google_generative_ai_conversation.const
 

Variables

string homeassistant.components.google_generative_ai_conversation.const.CONF_CHAT_MODEL = "chat_model"
 
string homeassistant.components.google_generative_ai_conversation.const.CONF_DANGEROUS_BLOCK_THRESHOLD = "dangerous_block_threshold"
 
string homeassistant.components.google_generative_ai_conversation.const.CONF_HARASSMENT_BLOCK_THRESHOLD = "harassment_block_threshold"
 
string homeassistant.components.google_generative_ai_conversation.const.CONF_HATE_BLOCK_THRESHOLD = "hate_block_threshold"
 
string homeassistant.components.google_generative_ai_conversation.const.CONF_MAX_TOKENS = "max_tokens"
 
string homeassistant.components.google_generative_ai_conversation.const.CONF_PROMPT = "prompt"
 
string homeassistant.components.google_generative_ai_conversation.const.CONF_RECOMMENDED = "recommended"
 
string homeassistant.components.google_generative_ai_conversation.const.CONF_SEXUAL_BLOCK_THRESHOLD = "sexual_block_threshold"
 
string homeassistant.components.google_generative_ai_conversation.const.CONF_TEMPERATURE = "temperature"
 
string homeassistant.components.google_generative_ai_conversation.const.CONF_TOP_K = "top_k"
 
string homeassistant.components.google_generative_ai_conversation.const.CONF_TOP_P = "top_p"
 
string homeassistant.components.google_generative_ai_conversation.const.DOMAIN = "google_generative_ai_conversation"
 
 homeassistant.components.google_generative_ai_conversation.const.LOGGER = logging.getLogger(__package__)
 
string homeassistant.components.google_generative_ai_conversation.const.RECOMMENDED_CHAT_MODEL = "models/gemini-1.5-flash-latest"
 
string homeassistant.components.google_generative_ai_conversation.const.RECOMMENDED_HARM_BLOCK_THRESHOLD = "BLOCK_MEDIUM_AND_ABOVE"
 
int homeassistant.components.google_generative_ai_conversation.const.RECOMMENDED_MAX_TOKENS = 150
 
float homeassistant.components.google_generative_ai_conversation.const.RECOMMENDED_TEMPERATURE = 1.0
 
int homeassistant.components.google_generative_ai_conversation.const.RECOMMENDED_TOP_K = 64
 
float homeassistant.components.google_generative_ai_conversation.const.RECOMMENDED_TOP_P = 0.95