joortif commited on
Commit
d817f91
·
verified ·
1 Parent(s): d0b6528

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -60,7 +60,7 @@ def test_rag_reranking(query, ranker):
60
 
61
  # ✅ Seguridad en el acceso al mejor contexto
62
  best_context = reranked[0].document.text
63
- print(f"🧠 Contexto elegido: {best_context[:300]}...")
64
 
65
  respuesta = generate_text(best_context, query)
66
  print(f"💬 Respuesta generada: {respuesta}")
 
60
 
61
  # ✅ Seguridad en el acceso al mejor contexto
62
  best_context = reranked[0].document.text
63
+ print(f"🧠 Contexto elegido: {best_context[:500]}...")
64
 
65
  respuesta = generate_text(best_context, query)
66
  print(f"💬 Respuesta generada: {respuesta}")