Update docs/core/entity/ai-task.md

This commit is contained in:
Paulus Schoutsen 2025-07-10 09:55:24 +02:00 committed by GitHub
parent 4fa0a48d88
commit 7a9524af1e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -66,7 +66,7 @@ A `GenDataTask` object contains the following data:
| ---- | ---- | ----------- | ---- | ---- | -----------
| `task_name` | `str` | Name/identifier for the task | `task_name` | `str` | Name/identifier for the task
| `instructions` | `str` | Natural language instructions for the AI | `instructions` | `str` | Natural language instructions for the AI
| `structure` | `dict` \| `None` | Optional schema for structured output validation | `structure` | `vol.Schema` \| `None` | Optional schema for structured output validation
| `attachments` | `list[PlayMediaWithId]` | List of attachments to include in the task. | `attachments` | `list[PlayMediaWithId]` | List of attachments to include in the task.
## Structured Output Schema ## Structured Output Schema