Spaces:
Running
Running
Update content_prompt.yml
Browse files- 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
|
25 |
Code:
|
26 |
```py
|
27 |
-
|
28 |
-
|
|
|
29 |
```<end_code>
|
30 |
-
Observation: "
|
31 |
|
32 |
-
Thought: Let me provide a comprehensive answer about the best
|
33 |
Code:
|
34 |
```py
|
35 |
-
final_answer(f"
|
36 |
```<end_code>
|
37 |
|
38 |
---
|
39 |
-
Task: "How can I
|
40 |
|
41 |
-
Thought: I will search for
|
42 |
Code:
|
43 |
```py
|
44 |
-
|
45 |
-
print(
|
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 |
-
```<
|
54 |
-
|
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 |
+
|
|
|
|
|
|
|
|