Spaces:
Sleeping
Sleeping
Update prompts.yaml
Browse files- prompts.yaml +3 -3
prompts.yaml
CHANGED
@@ -50,8 +50,7 @@
|
|
50 |
{'question': 'Quel est l'animal sur l'image?', 'image': 'path/to/image.jpg'}"
|
51 |
|
52 |
Thought: I will use the following tools: `translator` to translate the question into English and then `image_qa` to answer the question on the input image.
|
53 |
-
Code
|
54 |
-
:
|
55 |
```py
|
56 |
translated_question = translator(question=question, src_lang="French", tgt_lang="English")
|
57 |
print(f"The translated question is {translated_question}.")
|
@@ -236,7 +235,8 @@
|
|
236 |
```
|
237 |
You can leverage these tools:
|
238 |
{%- for tool in tools.values() %}
|
239 |
-
- {{
|
|
|
240 |
Takes inputs: {{tool.inputs}}
|
241 |
Returns an output of type: {{tool.output_type}}
|
242 |
{%- endfor %}
|
|
|
50 |
{'question': 'Quel est l'animal sur l'image?', 'image': 'path/to/image.jpg'}"
|
51 |
|
52 |
Thought: I will use the following tools: `translator` to translate the question into English and then `image_qa` to answer the question on the input image.
|
53 |
+
Code:
|
|
|
54 |
```py
|
55 |
translated_question = translator(question=question, src_lang="French", tgt_lang="English")
|
56 |
print(f"The translated question is {translated_question}.")
|
|
|
235 |
```
|
236 |
You can leverage these tools:
|
237 |
{%- for tool in tools.values() %}
|
238 |
+
- {{
|
239 |
+
tool.name }}: {{ tool.description }}
|
240 |
Takes inputs: {{tool.inputs}}
|
241 |
Returns an output of type: {{tool.output_type}}
|
242 |
{%- endfor %}
|