-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdescribe-images-for-alt-text-task.yaml
27 lines (26 loc) · 1.39 KB
/
describe-images-for-alt-text-task.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
tasks:
- name: "DescribeImages"
model: "models/gemini-1.5-flash"
description: "An agent that describes each image in the input directory to help write alt text."
preamble: "When describing an image, limit the description to 80 or less characters."
steps:
- prompt: "Provide a brief description of each Markdown file in this directory, emphasizing the key content and purpose of each file."
flags:
allfiles: "<INPUT>"
default_input: "./docs"
file_ext: "md"
- prompt: "Using the Markdown descriptions as context, provide a concise, descriptive alt text for this JPEG image that captures its essence and is suitable for users with visual impairments."
flags:
perfile: "<INPUT>"
default_input: "./docs"
file_ext: "jpg"
- prompt: "Using the Markdown descriptions as context, provide a concise, descriptive alt text for this PNG image that captures its essence and is suitable for users with visual impairments."
flags:
perfile: "<INPUT>"
default_input: "./docs"
file_ext: "png"
- prompt: "Using the Markdown descriptions as context, provide a concise, descriptive alt text for this GIF image that captures its essence and is suitable for users with visual impairments."
flags:
perfile: "<INPUT>"
default_input: "./docs"
file_ext: "gif"