Spaces:
Sleeping
Sleeping
Update prompts.yaml
Browse files- prompts.yaml +10 -5
prompts.yaml
CHANGED
|
@@ -1,9 +1,14 @@
|
|
| 1 |
final_answer:
|
| 2 |
pre_messages: |-
|
| 3 |
-
You have completed
|
| 4 |
-
|
| 5 |
-
|
| 6 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 7 |
|
| 8 |
|
| 9 |
"system_prompt": |-
|
|
@@ -58,7 +63,7 @@ final_answer:
|
|
| 58 |
translated_question = translator(question=question, src_lang="French", tgt_lang="English")
|
| 59 |
print(f"The translated question is {translated_question}.")
|
| 60 |
answer = image_qa(image=image, question=translated_question)
|
| 61 |
-
final_answer(
|
| 62 |
```<end_code>
|
| 63 |
|
| 64 |
---
|
|
|
|
| 1 |
final_answer:
|
| 2 |
pre_messages: |-
|
| 3 |
+
You have completed all reasoning. Now return only the final answer value by calling the `final_answer` tool.
|
| 4 |
+
Do not say "Final answer is...", do not wrap it in a sentence or quotation. Just return the final answer using the tool.
|
| 5 |
+
|
| 6 |
+
Example:
|
| 7 |
+
```py
|
| 8 |
+
final_answer("42")
|
| 9 |
+
```<end_code>
|
| 10 |
+
post_messages: ""
|
| 11 |
+
|
| 12 |
|
| 13 |
|
| 14 |
"system_prompt": |-
|
|
|
|
| 63 |
translated_question = translator(question=question, src_lang="French", tgt_lang="English")
|
| 64 |
print(f"The translated question is {translated_question}.")
|
| 65 |
answer = image_qa(image=image, question=translated_question)
|
| 66 |
+
final_answer(answer)
|
| 67 |
```<end_code>
|
| 68 |
|
| 69 |
---
|