File tree Expand file tree Collapse file tree 3 files changed +9
-9
lines changed Expand file tree Collapse file tree 3 files changed +9
-9
lines changed Original file line number Diff line number Diff line change 1919 heading_level: 2
2020::: strands.types.session
2121 options:
22- heading_level: 2
22+ heading_level: 2
2323::: strands.types.streaming
2424 options:
2525 heading_level: 2
Original file line number Diff line number Diff line change 22from strands_tools import generate_image , image_reader
33
44
5- artist = Agent (tools = [generate_image ],system_prompt = (
6- "You will be instructed to generate a number of images of a given subject. Vary the prompt for each generated image to create a variety of options."
5+ artist = Agent (tools = [generate_image ], system_prompt = (
6+ "You will be instructed to generate a number of images of a given subject. Vary the prompt for each generated image to create a variety of options. "
77 "Your final output must contain ONLY a comma-separated list of the filesystem paths of generated images."
88))
99
1010
1111
12- critic = Agent (tools = [image_reader ],system_prompt = (
13- "You will be provided with a list of filesystem paths, each containing an image."
14- "Describe each image, and then choose which one is best."
15- "Your final line of output must be as follows:"
12+ critic = Agent (tools = [image_reader ], system_prompt = (
13+ "You will be provided with a list of filesystem paths, each containing an image. "
14+ "Describe each image, and then choose which one is best. "
15+ "Your final line of output must be as follows: "
1616 "FINAL DECISION: <path to final decision image>"
1717))
1818
You can’t perform that action at this time.
0 commit comments