DmbOran commited on
Commit
fd9bce5
·
verified ·
1 Parent(s): a81ccb5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -3
app.py CHANGED
@@ -654,10 +654,11 @@ def respond(message, tokens_max, temperature, top_p):
654
  final_response = answer_for_intent(intent)
655
  log_interaction(message, final_response, "", tokens_max, temperature, top_p)
656
  # Stocker aussi les salutations dans Qdrant
657
- success = store_qr_in_qdrant(message, final_response, "", "greeting")
 
658
  if not success:
659
- print("⚠️ Échec du stockage de la salutation dans Qdrant")
660
- return final_response, ""
661
 
662
  context, dominant_collection = retrieve_context(message)
663
 
 
654
  final_response = answer_for_intent(intent)
655
  log_interaction(message, final_response, "", tokens_max, temperature, top_p)
656
  # Stocker aussi les salutations dans Qdrant
657
+
658
+ """success = store_qr_in_qdrant(message, final_response, "", "greeting")
659
  if not success:
660
+ print("⚠️ Échec du stockage de la salutation dans Qdrant")
661
+ return final_response, "" """
662
 
663
  context, dominant_collection = retrieve_context(message)
664