Update app.py
Browse filesTrying a more detailed system prompt
app.py
CHANGED
|
@@ -42,7 +42,7 @@ class BasicAgent:
|
|
| 42 |
# Use the Google GenAI client to run the question
|
| 43 |
response = self.client.models.generate_content(
|
| 44 |
model='gemini-2.0-flash',
|
| 45 |
-
contents=f'Answer the following question in the format as requested.{question}',
|
| 46 |
config=types.GenerateContentConfig(
|
| 47 |
tools=[types.Tool(
|
| 48 |
google_search=types.GoogleSearch()
|
|
|
|
| 42 |
# Use the Google GenAI client to run the question
|
| 43 |
response = self.client.models.generate_content(
|
| 44 |
model='gemini-2.0-flash',
|
| 45 |
+
contents=f'Answer the following question in the format as requested. Do not include any explanation, only provide your answer. {question}',
|
| 46 |
config=types.GenerateContentConfig(
|
| 47 |
tools=[types.Tool(
|
| 48 |
google_search=types.GoogleSearch()
|