Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -279,9 +279,9 @@ class BasicAgent:
|
|
279 |
3. If the question is still not comprehensible, try seeing if it is in another language.
|
280 |
4. Think about whether you need to elaborate on the information. For example, if you know that John and Jane are kids of Joan, you know Joan has at least two kids. In other words, if you don't have a number that is asked of you, see if you can count to produce an answer.
|
281 |
5. Provide a direct answer.
|
282 |
-
6. If the information doesn't contain the answer, say so honestly
|
283 |
7. Do not invent anything. You can apply method to elaborate, but based on facts
|
284 |
-
8. Format your response as a direct answer.
|
285 |
"""
|
286 |
|
287 |
response = self.gemini_model.generate_content(prompt)
|
|
|
279 |
3. If the question is still not comprehensible, try seeing if it is in another language.
|
280 |
4. Think about whether you need to elaborate on the information. For example, if you know that John and Jane are kids of Joan, you know Joan has at least two kids. In other words, if you don't have a number that is asked of you, see if you can count to produce an answer.
|
281 |
5. Provide a direct answer.
|
282 |
+
6. If the information doesn't contain the answer, say so honestly.
|
283 |
7. Do not invent anything. You can apply method to elaborate, but based on facts
|
284 |
+
8. Format your response as a direct answer. For example, if you are asked the year in which World War II began, just reply: "FINAL ANSWER: 1939".
|
285 |
"""
|
286 |
|
287 |
response = self.gemini_model.generate_content(prompt)
|