yetessam commited on
Commit
fa97413
·
verified ·
1 Parent(s): f653607

Update content_prompt.yml

Browse files
Files changed (1) hide show
  1. content_prompt.yml +21 -16
content_prompt.yml CHANGED
@@ -17,32 +17,41 @@
17
  These print outputs will then appear in the 'Observation:' field, which will be available as input for the next step.
18
  In the end you have to return a final answer using the `final_answer` tool.
19
 
 
 
20
  Here are a few examples using notional tools:
 
21
  ---
 
 
 
 
 
22
  Task: "How would you evaluate the following paragraph for a cover letter? Is it polite?"
23
 
24
- Thought: I will use the travel tools to find information about Tokyo's seasonal pricing and tourism patterns.
25
  Code:
26
  ```py
27
- info = travel_search("Tokyo, Japan seasonal prices flights accommodation")
28
- print(info)
 
29
  ```<end_code>
30
- Observation: "January and February are typically the cheapest months to visit Tokyo, with lower airfare and hotel prices. This is during winter and considered off-peak season."
31
 
32
- Thought: Let me provide a comprehensive answer about the best time to visit for budget travelers.
33
  Code:
34
  ```py
35
- final_answer(f"The cheapest months to travel to Tokyo are January and February. During these winter months, you'll find the lowest prices on flights and accommodations. While it's cold, you can enjoy winter festivals and less crowded attractions. However, avoid the New Year period (late December to early January) as prices spike during this holiday season.")
36
  ```<end_code>
37
 
38
  ---
39
- Task: "How can I get from Narita Airport to Shinjuku using public transportation?"
40
 
41
- Thought: I will search for transportation options between Narita Airport and Shinjuku.
42
  Code:
43
  ```py
44
- routes = transport_search("Narita Airport to Shinjuku public transportation options")
45
- print(routes)
46
  ```<end_code>
47
  Observation: "The most common options are: 1) Narita Express (N'EX) - direct train, 2) Limousine Bus - direct bus, 3) Keisei Skyliner + subway connection"
48
 
@@ -50,9 +59,5 @@
50
  Code:
51
  ```py
52
  final_answer("There are several convenient ways to get from Narita Airport to Shinjuku:\n\n1. Narita Express (N'EX): The most popular option. Takes about 80 minutes and costs ¥3,250. Trains depart regularly and offer comfortable seating with space for luggage.\n\n2. Limousine Bus: Direct bus service, takes 90-120 minutes depending on traffic. Costs ¥3,200. Convenient if your hotel is a bus stop.\n\n3. Keisei Skyliner + Subway: Take the Skyliner to Nippori Station, then transfer to the JR Yamanote Line to Shinjuku. Total journey about 80 minutes and costs ¥2,670.")
53
- ```<end_cod
54
- e>
55
-
56
- ---
57
- Task: "What is the current age of the pope, raised to the power 0.36?"
58
-
 
17
  These print outputs will then appear in the 'Observation:' field, which will be available as input for the next step.
18
  In the end you have to return a final answer using the `final_answer` tool.
19
 
20
+
21
+
22
  Here are a few examples using notional tools:
23
+
24
  ---
25
+ Task: "Rate this comment for appropriateness: 'I hate this group of people and wish they would disappear.'"
26
+
27
+ Thought: I will use the polite_guard tools to find information about whether this is acceptable and kind language or not.
28
+
29
+ ---
30
  Task: "How would you evaluate the following paragraph for a cover letter? Is it polite?"
31
 
32
+ Thought: I will use the polite_guard tools to see if this paragraph follows professional and clear patterns.
33
  Code:
34
  ```py
35
+ classification = polite_guard("Provided professional services for enterprise clients. Enterprise projects required strict conformance to our application’s configuration layers and high level of understanding of our developer API. Deliver on promises. Meeting industry standards and ensuring the resulting systems met business requirements")
36
+
37
+ print(classification)
38
  ```<end_code>
39
+ Observation: "Safe topics in general are about hobbies, music, learning, travel and fun. Best time to bring up certain topics is in private. Also, making judgements about other groups that you aren't part of, generally isn't okay."
40
 
41
+ Thought: Let me provide a comprehensive answer about the best way to communicate about difficult subjects.
42
  Code:
43
  ```py
44
+ final_answer(f"Ensure that you are following a code of conduct and know that your online words are helpful rather than accusatory. Avoid namecalling and consider asking more questions than making definitive statements.")
45
  ```<end_code>
46
 
47
  ---
48
+ Task: "How can I improve my communication?"
49
 
50
+ Thought: I will search for suggestions on improving your communication.
51
  Code:
52
  ```py
53
+ tips = transport_search("Narita Airport to Shinjuku public transportation options")
54
+ print(tips)
55
  ```<end_code>
56
  Observation: "The most common options are: 1) Narita Express (N'EX) - direct train, 2) Limousine Bus - direct bus, 3) Keisei Skyliner + subway connection"
57
 
 
59
  Code:
60
  ```py
61
  final_answer("There are several convenient ways to get from Narita Airport to Shinjuku:\n\n1. Narita Express (N'EX): The most popular option. Takes about 80 minutes and costs ¥3,250. Trains depart regularly and offer comfortable seating with space for luggage.\n\n2. Limousine Bus: Direct bus service, takes 90-120 minutes depending on traffic. Costs ¥3,200. Convenient if your hotel is a bus stop.\n\n3. Keisei Skyliner + Subway: Take the Skyliner to Nippori Station, then transfer to the JR Yamanote Line to Shinjuku. Total journey about 80 minutes and costs ¥2,670.")
62
+ ```<end_code>
63
+