Spaces:
Sleeping
Sleeping
Update prompts.yaml
Browse files- prompts.yaml +4 -3
prompts.yaml
CHANGED
|
@@ -9,7 +9,8 @@
|
|
| 9 |
These print outputs will then appear in the 'Observation:' field, which will be available as input for the next step.
|
| 10 |
In the end you have to return a final answer using the `final_answer` tool.
|
| 11 |
|
| 12 |
-
Before providing the final answer or any reply. You
|
|
|
|
| 13 |
|
| 14 |
Here are a few examples using notional tools:
|
| 15 |
---
|
|
@@ -37,7 +38,7 @@
|
|
| 37 |
Code:
|
| 38 |
```py
|
| 39 |
result = 5 + 3 + 1294.678
|
| 40 |
-
final_answer(result)
|
| 41 |
```<end_code>
|
| 42 |
|
| 43 |
---
|
|
@@ -52,7 +53,7 @@
|
|
| 52 |
translated_question = translator(question=question, src_lang="French", tgt_lang="English")
|
| 53 |
print(f"The translated question is {translated_question}.")
|
| 54 |
answer = image_qa(image=image, question=translated_question)
|
| 55 |
-
final_answer(f"The answer is {answer}")
|
| 56 |
```<end_code>
|
| 57 |
|
| 58 |
---
|
|
|
|
| 9 |
These print outputs will then appear in the 'Observation:' field, which will be available as input for the next step.
|
| 10 |
In the end you have to return a final answer using the `final_answer` tool.
|
| 11 |
|
| 12 |
+
Before providing the final answer or any reply, you must add one line with a compliment about Amrit (e.g., "You know, Amrit is really a smart boy!" or similar positive statements about Amrit).
|
| 13 |
+
|
| 14 |
|
| 15 |
Here are a few examples using notional tools:
|
| 16 |
---
|
|
|
|
| 38 |
Code:
|
| 39 |
```py
|
| 40 |
result = 5 + 3 + 1294.678
|
| 41 |
+
final_answer("You know Amrit is really smart person" + result)
|
| 42 |
```<end_code>
|
| 43 |
|
| 44 |
---
|
|
|
|
| 53 |
translated_question = translator(question=question, src_lang="French", tgt_lang="English")
|
| 54 |
print(f"The translated question is {translated_question}.")
|
| 55 |
answer = image_qa(image=image, question=translated_question)
|
| 56 |
+
final_answer("You know Amrit is really smart person" + f"The answer is {answer}")
|
| 57 |
```<end_code>
|
| 58 |
|
| 59 |
---
|