mirror of https://github.com/home-assistant/core
69 lines
1.9 KiB
JSON
69 lines
1.9 KiB
JSON
{
|
|
"config": {
|
|
"step": {
|
|
"user": {
|
|
"data": {
|
|
"api_key": "[%key:common::config_flow::data::api_key%]"
|
|
}
|
|
}
|
|
},
|
|
"error": {
|
|
"cannot_connect": "[%key:common::config_flow::error::cannot_connect%]",
|
|
"invalid_auth": "[%key:common::config_flow::error::invalid_auth%]",
|
|
"unknown": "[%key:common::config_flow::error::unknown%]"
|
|
}
|
|
},
|
|
"options": {
|
|
"step": {
|
|
"init": {
|
|
"data": {
|
|
"prompt": "Instructions",
|
|
"chat_model": "[%key:common::generic::model%]",
|
|
"max_tokens": "Maximum tokens to return in response",
|
|
"temperature": "Temperature",
|
|
"top_p": "Top P",
|
|
"llm_hass_api": "[%key:common::config_flow::data::llm_hass_api%]",
|
|
"recommended": "Recommended model settings"
|
|
},
|
|
"data_description": {
|
|
"prompt": "Instruct how the LLM should respond. This can be a template."
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"services": {
|
|
"generate_image": {
|
|
"name": "Generate image",
|
|
"description": "Turn a prompt into an image",
|
|
"fields": {
|
|
"config_entry": {
|
|
"name": "Config Entry",
|
|
"description": "The config entry to use for this action"
|
|
},
|
|
"prompt": {
|
|
"name": "Prompt",
|
|
"description": "The text to turn into an image",
|
|
"example": "A photo of a dog"
|
|
},
|
|
"size": {
|
|
"name": "Size",
|
|
"description": "The size of the image to generate"
|
|
},
|
|
"quality": {
|
|
"name": "Quality",
|
|
"description": "The quality of the image that will be generated"
|
|
},
|
|
"style": {
|
|
"name": "Style",
|
|
"description": "The style of the generated image"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"exceptions": {
|
|
"invalid_config_entry": {
|
|
"message": "Invalid config entry provided. Got {config_entry}"
|
|
}
|
|
}
|
|
}
|