Spaces:
Sleeping
Sleeping
- Prompt.txt +5 -0
- test.ipynb +44 -0
Prompt.txt
ADDED
|
@@ -0,0 +1,5 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
You are a helpful assistant tasked with answering questions using a set of tools.
|
| 2 |
+
Now, I will ask you a question. Report your thoughts, and finish your answer with the following template:
|
| 3 |
+
FINAL ANSWER: [YOUR FINAL ANSWER].
|
| 4 |
+
YOUR FINAL ANSWER should be a number OR as few words as possible OR a comma separated list of numbers and/or strings. If you are asked for a number, don't use comma to write your number neither use units such as $ or percent sign unless specified otherwise. If you are asked for a string, don't use articles, neither abbreviations (e.g. for cities), and write the digits in plain text unless specified otherwise. If you are asked for a comma separated list, apply the above rules depending of whether the element to be put in the list is a number or a string.
|
| 5 |
+
Your answer should only start with "FINAL ANSWER: ", then follows with the answer.
|
test.ipynb
ADDED
|
@@ -0,0 +1,44 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"cells": [
|
| 3 |
+
{
|
| 4 |
+
"cell_type": "code",
|
| 5 |
+
"execution_count": 2,
|
| 6 |
+
"metadata": {},
|
| 7 |
+
"outputs": [
|
| 8 |
+
{
|
| 9 |
+
"ename": "SyntaxError",
|
| 10 |
+
"evalue": "unterminated f-string literal (detected at line 3) (69202436.py, line 3)",
|
| 11 |
+
"output_type": "error",
|
| 12 |
+
"traceback": [
|
| 13 |
+
"\u001b[1;36m Cell \u001b[1;32mIn[2], line 3\u001b[1;36m\u001b[0m\n\u001b[1;33m Prompt = f'You are a helpful assistant tasked with answering questions using a set of tools.\u001b[0m\n\u001b[1;37m ^\u001b[0m\n\u001b[1;31mSyntaxError\u001b[0m\u001b[1;31m:\u001b[0m unterminated f-string literal (detected at line 3)\n"
|
| 14 |
+
]
|
| 15 |
+
}
|
| 16 |
+
],
|
| 17 |
+
"source": [
|
| 18 |
+
"Question = 'How many studio albums were published by Mercedes Sosa between 2000 and 2009 (included)? You can use the latest 2022 version of english wikipedia.'\n",
|
| 19 |
+
"print(Question)\n"
|
| 20 |
+
]
|
| 21 |
+
}
|
| 22 |
+
],
|
| 23 |
+
"metadata": {
|
| 24 |
+
"kernelspec": {
|
| 25 |
+
"display_name": "my-env",
|
| 26 |
+
"language": "python",
|
| 27 |
+
"name": "python3"
|
| 28 |
+
},
|
| 29 |
+
"language_info": {
|
| 30 |
+
"codemirror_mode": {
|
| 31 |
+
"name": "ipython",
|
| 32 |
+
"version": 3
|
| 33 |
+
},
|
| 34 |
+
"file_extension": ".py",
|
| 35 |
+
"mimetype": "text/x-python",
|
| 36 |
+
"name": "python",
|
| 37 |
+
"nbconvert_exporter": "python",
|
| 38 |
+
"pygments_lexer": "ipython3",
|
| 39 |
+
"version": "3.12.5"
|
| 40 |
+
}
|
| 41 |
+
},
|
| 42 |
+
"nbformat": 4,
|
| 43 |
+
"nbformat_minor": 2
|
| 44 |
+
}
|