mirror of
https://github.com/home-assistant/core.git
synced 2025-12-26 22:18:40 +00:00
53 lines
1.7 KiB
JSON
53 lines
1.7 KiB
JSON
{
|
|
"services": {
|
|
"generate_data": {
|
|
"description": "Uses AI to run a task that generates data.",
|
|
"fields": {
|
|
"attachments": {
|
|
"description": "List of files to attach for multi-modal AI analysis.",
|
|
"name": "Attachments"
|
|
},
|
|
"entity_id": {
|
|
"description": "Entity ID to run the task on. If not provided, the preferred entity will be used.",
|
|
"name": "Entity ID"
|
|
},
|
|
"instructions": {
|
|
"description": "Instructions on what needs to be done.",
|
|
"name": "Instructions"
|
|
},
|
|
"structure": {
|
|
"description": "When set, the AI Task will output fields with this in structure. The structure is a dictionary where the keys are the field names and the values contain a 'description', a 'selector', and an optional 'required' field.",
|
|
"name": "Structured output"
|
|
},
|
|
"task_name": {
|
|
"description": "Name of the task.",
|
|
"name": "Task name"
|
|
}
|
|
},
|
|
"name": "Generate data"
|
|
},
|
|
"generate_image": {
|
|
"description": "Uses AI to generate image.",
|
|
"fields": {
|
|
"attachments": {
|
|
"description": "List of files to attach for using as references.",
|
|
"name": "Attachments"
|
|
},
|
|
"entity_id": {
|
|
"description": "Entity ID to run the task on.",
|
|
"name": "Entity ID"
|
|
},
|
|
"instructions": {
|
|
"description": "Instructions that explains the image to be generated.",
|
|
"name": "Instructions"
|
|
},
|
|
"task_name": {
|
|
"description": "Name of the task.",
|
|
"name": "Task name"
|
|
}
|
|
},
|
|
"name": "Generate image"
|
|
}
|
|
}
|
|
}
|