sistema contextual y de reocmendaciones de manuales, asi como busqueda y nuevps disenios

This commit is contained in:
2026-04-29 10:25:16 -05:00
parent 381149e276
commit 97de088b5d
7 changed files with 239 additions and 74 deletions

View File

@@ -54,7 +54,10 @@ class HelpCenterService:
}
# Only append if there's something meaningful beyond "article"
if metadata["content_type"] != "article" or metadata["file_url"]:
if (metadata["content_type"] != "article" or
metadata["file_url"] or
metadata["context_path"] or
metadata["tags"]):
content += f"\n\n<!-- a76_metadata: {json.dumps(metadata)} -->"
return content