Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -24,7 +24,7 @@ if "Mistral" not in os.environ:
|
|
| 24 |
|
| 25 |
print("Loading LLM...")
|
| 26 |
chat = ChatMistralAI(
|
| 27 |
-
model="mistral-
|
| 28 |
mistral_api_key = os.getenv("Mistral")
|
| 29 |
)
|
| 30 |
print(f"Model {chat.model} downloaded!")
|
|
@@ -144,7 +144,7 @@ system_prompt = SystemMessage(
|
|
| 144 |
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. \
|
| 145 |
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. \
|
| 146 |
If the question refers to an external content and there is no reference file attached, perform a web search and retrieve relevant information from the internet. \
|
| 147 |
-
Make sure that each final answer is preceded with 'FINAL ANSWER:' and is short: it should contain a number, a string or a comma-separated list, nothing else. "
|
| 148 |
)
|
| 149 |
|
| 150 |
class BasicAgent:
|
|
|
|
| 24 |
|
| 25 |
print("Loading LLM...")
|
| 26 |
chat = ChatMistralAI(
|
| 27 |
+
model="mistral-medium-2505",
|
| 28 |
mistral_api_key = os.getenv("Mistral")
|
| 29 |
)
|
| 30 |
print(f"Model {chat.model} downloaded!")
|
|
|
|
| 144 |
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. \
|
| 145 |
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. \
|
| 146 |
If the question refers to an external content and there is no reference file attached, perform a web search and retrieve relevant information from the internet. \
|
| 147 |
+
Make sure that each final answer is preceded with 'FINAL ANSWER:' and is short: it should contain a number (without full stop at the end), a string (without full stop at the end) or a comma-separated list (without full stops at the end), nothing else. "
|
| 148 |
)
|
| 149 |
|
| 150 |
class BasicAgent:
|