Jekaterina commited on
Commit
5fe36fe
·
verified ·
1 Parent(s): a11f74b

Update prompts.yaml

Browse files
Files changed (1) hide show
  1. prompts.yaml +24 -4
prompts.yaml CHANGED
@@ -41,7 +41,7 @@
41
  ---
42
  Task: "Generate an image of the Toronto Short Film Festival."
43
 
44
- Thought: I will proceed step by step and use the following tools: `festival_search` to find more details about the Toronto Short Film Festival, then `image_generation_tool` to generate an image according to the answer.
45
  Code:
46
  ```py
47
  festival_info = festival_search(question = f"Toronto Short Film Festival details")
@@ -49,15 +49,35 @@
49
  ```<end_code>
50
  Observation: "Toronto Short Film Festival is one of the largest short film festivals in Canada; it showcases the best short films from filmmakers around the world; it screens approximately 120 short films over 5 nights; it aims to give short-form cinema and its creators recognition similar to that given to feature films."
51
 
52
- Thought: I will now generate a photorealistic image showcasing the Toronto Short Film Festival.
53
  Code:
54
  ```py
55
 
56
  prompt = festival_info
57
- image = image_generation_tool(prompt+"using a camera setup that mimics a large aperture, f/1.4 --ar 9:16 --style raw")
58
- final_answer(image)
 
59
  ```<end_code>
 
 
 
 
 
 
 
 
 
 
60
 
 
 
 
 
 
 
 
 
 
61
  ---
62
  Task: "What is the result of the following operation: 5 + 3 + 1294.678?"
63
 
 
41
  ---
42
  Task: "Generate an image of the Toronto Short Film Festival."
43
 
44
+ Thought: I will proceed step by step and use the following tools: `festival_search` to find more details about the Toronto Short Film Festival, then `image_generation_tool` to generate an image according to the answer. When I am ready, I will provide the user both the information about the festival and the generated image.
45
  Code:
46
  ```py
47
  festival_info = festival_search(question = f"Toronto Short Film Festival details")
 
49
  ```<end_code>
50
  Observation: "Toronto Short Film Festival is one of the largest short film festivals in Canada; it showcases the best short films from filmmakers around the world; it screens approximately 120 short films over 5 nights; it aims to give short-form cinema and its creators recognition similar to that given to feature films."
51
 
52
+ Thought: I will now generate a photorealistic image showcasing the Toronto Short Film Festival and show it to the user together with the information about the festival.
53
  Code:
54
  ```py
55
 
56
  prompt = festival_info
57
+ prompt_enhancement = "using a camera setup that mimics a large aperture, f/1.4 --ar 9:16 --style raw"
58
+ image = image_generation_tool(prompt+prompt_enhancement)
59
+ final_answer(image+festival_info)
60
  ```<end_code>
61
+ ---
62
+ Task: "How does the Sanno Festival in Tokyo look like?"
63
+
64
+ Thought: I will proceed step by step and use the following tools: `festival_search` to find more details about the Sanno Festival in Tokyo, then `image_generation_tool` to generate an image according to the answer. When I am ready, I will provide the user both the information about the festival and the generated image.
65
+ Code:
66
+ ```py
67
+ festival_info = festival_search(question = f"Sanno Festival in Tokyo details")
68
+ print(festival_info)
69
+ ```<end_code>
70
+ Observation: "The Sanno Festival is one of the most famous festivals in Tokyo. The highlight is the Grand Parade, featuring over 500 participants in traditional costumes carrying drums, floats, and portable shrines through the city."
71
 
72
+ Thought: I will now generate a photorealistic image showcasing the Toronto Short Film Festival and show it to the user together with the information about the festival.
73
+ Code:
74
+ ```py
75
+
76
+ prompt = festival_info
77
+ prompt_enhancement = "using a camera setup that mimics a large aperture, f/1.4 --ar 9:16 --style raw"
78
+ image = image_generation_tool(prompt+prompt_enhancement)
79
+ final_answer(image+festival_info)
80
+ ```<end_code>
81
  ---
82
  Task: "What is the result of the following operation: 5 + 3 + 1294.678?"
83