perellorets commited on
Commit
2fcd754
·
verified ·
1 Parent(s): ec29285

Update rag_system.py

Browse files
Files changed (1) hide show
  1. rag_system.py +6 -0
rag_system.py CHANGED
@@ -35,6 +35,11 @@ class RAGLLMSystem:
35
  self.qdrant_api_key = os.getenv("QDRANT_API_KEY")
36
  self.qdrant_collection = os.getenv("QDRANT_COLLECTION", "alia_turismo_docs")
37
 
 
 
 
 
 
38
  # Modelo LLM
39
  self.llm_model_name = "BSC-LT/salamandra-7b-instruct"
40
 
@@ -259,3 +264,4 @@ RESPUESTA:"""
259
  generation_time=generation_time,
260
  total_time=time.time() - start_time
261
  )
 
 
35
  self.qdrant_api_key = os.getenv("QDRANT_API_KEY")
36
  self.qdrant_collection = os.getenv("QDRANT_COLLECTION", "alia_turismo_docs")
37
 
38
+ # Debug: verificar que las variables existen
39
+ print(f"[DEBUG] QDRANT_URL configurado: {self.qdrant_url is not None}")
40
+ print(f"[DEBUG] QDRANT_API_KEY configurado: {self.qdrant_api_key is not None}")
41
+ print(f"[DEBUG] QDRANT_COLLECTION: {self.qdrant_collection}")
42
+
43
  # Modelo LLM
44
  self.llm_model_name = "BSC-LT/salamandra-7b-instruct"
45
 
 
264
  generation_time=generation_time,
265
  total_time=time.time() - start_time
266
  )
267
+