hemantvirmani commited on
Commit
c7a40f2
·
1 Parent(s): 835ac53

updating gemini model to flash and updating prompt

Browse files
Files changed (2) hide show
  1. config.py +1 -1
  2. system_prompt.py +8 -0
config.py CHANGED
@@ -38,7 +38,7 @@ AGENT_SMOL = "SMOL"
38
  ACTIVE_AGENT = AGENT_REACT_LANGGRAPH # Active agent to use by default
39
 
40
  # Model Configuration
41
- GEMINI_MODEL = "gemini-2.5-pro"
42
  GEMINI_TEMPERATURE = 0
43
  GEMINI_MAX_TOKENS = 1024
44
 
 
38
  ACTIVE_AGENT = AGENT_REACT_LANGGRAPH # Active agent to use by default
39
 
40
  # Model Configuration
41
+ GEMINI_MODEL = "gemini-2.5-flash"
42
  GEMINI_TEMPERATURE = 0
43
  GEMINI_MAX_TOKENS = 1024
44
 
system_prompt.py CHANGED
@@ -123,6 +123,14 @@ right
123
  - "Ft." → "Fort" (e.g., "Fort Worth", "Fort Lauderdale")
124
  - Use the canonical/official name when multiple forms exist
125
 
 
 
 
 
 
 
 
 
126
  ### ERROR HANDLING
127
 
128
  - If a tool fails, try again with a different query or approach
 
123
  - "Ft." → "Fort" (e.g., "Fort Worth", "Fort Lauderdale")
124
  - Use the canonical/official name when multiple forms exist
125
 
126
+ ### PRECISION AND VERIFICATION
127
+
128
+ - **Category Distinctions**: Pay careful attention to category qualifiers in questions (e.g., "studio albums" vs all albums, "pitchers" vs all players, "first name" vs full name). Filter results precisely to match the exact category requested.
129
+ - **Time-Sensitive Data**: When questions specify a date or time period (e.g., "as of July 2023"), ensure your source data matches that timeframe. Historical snapshots may differ from current data.
130
+ - **Cross-Verification**: For factual questions, try to verify answers from multiple independent sources when possible. If sources conflict, prefer official/primary sources (Wikipedia, official websites) over secondary sources.
131
+ - **Unique Constraints**: When questions use words like "only", "unique", or "single", verify that exactly one item matches the criteria. If multiple items match, re-examine the constraints.
132
+ - **Sequential/Ordered Data**: For questions about sequences, rankings, or ordered lists (jersey numbers, chronological order, etc.), carefully verify the exact position or order from authoritative sources.
133
+
134
  ### ERROR HANDLING
135
 
136
  - If a tool fails, try again with a different query or approach