Update modules/database/semantic_mongo_db.py
Browse files
modules/database/semantic_mongo_db.py
CHANGED
|
@@ -56,7 +56,7 @@ def store_student_semantic_result(username, text, analysis_result, lang_code='en
|
|
| 56 |
# Crear documento para MongoDB
|
| 57 |
analysis_document = {
|
| 58 |
'username': username,
|
| 59 |
-
'timestamp': datetime.now(timezone.utc),
|
| 60 |
'text': text,
|
| 61 |
'analysis_type': 'semantic',
|
| 62 |
'key_concepts': analysis_result.get('key_concepts', []),
|
|
|
|
| 56 |
# Crear documento para MongoDB
|
| 57 |
analysis_document = {
|
| 58 |
'username': username,
|
| 59 |
+
'timestamp': datetime.now(timezone.utc).isoformat(),
|
| 60 |
'text': text,
|
| 61 |
'analysis_type': 'semantic',
|
| 62 |
'key_concepts': analysis_result.get('key_concepts', []),
|