Update modules/database/semantic_mongo_db.py
Browse files
modules/database/semantic_mongo_db.py
CHANGED
@@ -48,6 +48,9 @@ def store_student_semantic_result(username, text, analysis_result):
|
|
48 |
'concept_graph': concept_graph_data
|
49 |
}
|
50 |
|
|
|
|
|
|
|
51 |
# Insertar en MongoDB
|
52 |
result = insert_document(COLLECTION_NAME, analysis_document)
|
53 |
if result:
|
|
|
48 |
'concept_graph': concept_graph_data
|
49 |
}
|
50 |
|
51 |
+
logger.debug(f"Intentando insertar documento para usuario: {username}")
|
52 |
+
logger.debug(f"Documento: {analysis_document}")
|
53 |
+
|
54 |
# Insertar en MongoDB
|
55 |
result = insert_document(COLLECTION_NAME, analysis_document)
|
56 |
if result:
|