mirror of
https://github.com/home-assistant/core.git
synced 2025-12-25 13:38:04 +00:00
* initial commit * Add tests * Move tests to the correct file * Fix exception type * Undo change to default prompt * Add intent dependency * Move format_tool out of the class * Fix tests * coverage * Adjust to new API * Update strings * Update tests * Remove unrelated change * Test referencing non-existing API * Add test to verify no exception on tool conversion for Assist tools * Bump voluptuous-openapi==0.0.4 * Add device_id to tool input * Fix tests --------- Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
66 lines
2.1 KiB
JSON
66 lines
2.1 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": "Prompt Template",
|
|
"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%]"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"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 service"
|
|
},
|
|
"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"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"issues": {
|
|
"image_size_deprecated_format": {
|
|
"title": "Deprecated size format for image generation service",
|
|
"description": "OpenAI is now using Dall-E 3 to generate images when calling `openai_conversation.generate_image`, which supports different sizes. Valid values are now \"1024x1024\", \"1024x1792\", \"1792x1024\". The old values of \"256\", \"512\", \"1024\" are currently interpreted as \"1024x1024\".\nPlease update your scripts or automations with the new parameters."
|
|
}
|
|
}
|
|
}
|