caarleexx commited on
Commit
7848c96
·
verified ·
1 Parent(s): e266276

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -2
app.py CHANGED
@@ -194,14 +194,16 @@ PARA CADA PERGUNTA:
194
  # ============================================================================
195
  # PASSOS P2-P8 (MELHORADOS COM X1-X2)
196
  # ============================================================================
197
- def prompt = f"""P2-CENÁRIOS TELEGRÁFICO
 
 
198
  P1: {json.dumps(p1)}
199
  X1-PERGUNTAS: {json.dumps(x1)}
200
  X2-RESPOSTAS: {json.dumps(x2)}
201
  PERGUNTA: {pergunta}
202
 
203
  {{"cenarios": {{"provaveis": [{{"id": "C1", "desc": "curto"}}],
204
- "improvaveis": [{{"id": "C2", "desc": "curto"}}]},
205
  "total": 2}}"""
206
  return chamar_gemini_json(prompt)
207
 
 
194
  # ============================================================================
195
  # PASSOS P2-P8 (MELHORADOS COM X1-X2)
196
  # ============================================================================
197
+ defpasso_2_cenarios(pergunta: str, p1: Dict, x1: Dict, x2: Dict, historico: List) -> Dict:
198
+ logger.log("🎯 P2-CENÁRIOS (com X1-X2)", "TASK")
199
+ prompt = f"""P2-CENÁRIOS TELEGRÁFICO
200
  P1: {json.dumps(p1)}
201
  X1-PERGUNTAS: {json.dumps(x1)}
202
  X2-RESPOSTAS: {json.dumps(x2)}
203
  PERGUNTA: {pergunta}
204
 
205
  {{"cenarios": {{"provaveis": [{{"id": "C1", "desc": "curto"}}],
206
+ "improvaveis": [{{"id": "C2", "desc": "curto"}}]}},
207
  "total": 2}}"""
208
  return chamar_gemini_json(prompt)
209