llamasrock commited on
Commit
c2edefc
·
verified ·
1 Parent(s): 45d6d65

Update app.py

Browse files

Added a short 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=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.'{question},
46
  config=types.GenerateContentConfig(
47
  tools=[types.Tool(
48
  google_search=types.GoogleSearch()