llamasrock commited on
Commit
00536ce
·
verified ·
1 Parent(s): 6a3f1b6

Update app.py

Browse files

Trying a more detailed system prompt

Files changed (1) hide show
  1. app.py +1 -1
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()