Update app.py
Browse files
app.py
CHANGED
|
@@ -29,6 +29,9 @@ class GeminiAgent:
|
|
| 29 |
"Analyze the question carefully. If the question involves a file, you will receive the question text only. "
|
| 30 |
"Acknowledge that you cannot access files. If you cannot answer the question, state that clearly. "
|
| 31 |
"Do not guess."
|
|
|
|
|
|
|
|
|
|
| 32 |
)
|
| 33 |
self.model = genai.GenerativeModel('gemini-2.5-pro')
|
| 34 |
print("Gemini Agent initialized successfully.")
|
|
|
|
| 29 |
"Analyze the question carefully. If the question involves a file, you will receive the question text only. "
|
| 30 |
"Acknowledge that you cannot access files. If you cannot answer the question, state that clearly. "
|
| 31 |
"Do not guess."
|
| 32 |
+
"Only reply with the answer."
|
| 33 |
+
"Do not restate a part of the question."
|
| 34 |
+
"Do not say of course."
|
| 35 |
)
|
| 36 |
self.model = genai.GenerativeModel('gemini-2.5-pro')
|
| 37 |
print("Gemini Agent initialized successfully.")
|