ArchiveBox/archivebox/core
Your Name 08b0dfaf12 Fix #1139: Return tags as a JSON list in Snapshot.to_dict() for LLM/RAG integration
Previously, `archivebox search --json` exported tags as a comma-separated
string (e.g. "tag1,tag2"), which required manual parsing by consumers like
LlamaIndex, LangChain, and other RAG frameworks.

Now `to_dict()` returns tags as a proper JSON array (e.g. ["tag1", "tag2"]),
making the export directly usable as structured metadata in LLM/RAG pipelines
without additional preprocessing.

`from_json()` is updated to accept both list and string formats for backward
compatibility with existing JSON imports.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-02-20 21:21:38 -08:00
..
management/commands allow running archivebox core commands from manage.py 2019-04-22 13:36:27 -04:00
migrations wip 2026-01-21 03:19:56 -08:00
templatetags wip 2026-01-21 03:19:56 -08:00
__init__.py wip 2025-12-28 17:51:54 -08:00
actors.py rename actors to workers 2024-11-18 04:27:37 -08:00
admin_archiveresults.py wip 2026-01-21 03:19:56 -08:00
admin_site.py wip 2025-12-28 17:51:54 -08:00
admin_snapshots.py wip 2026-01-21 03:19:56 -08:00
admin_tags.py wip 2025-12-28 17:51:54 -08:00
admin_users.py fix: Use CustomUserAdmin instead of Django's default UserAdmin to fix user creation bug 2025-12-29 21:47:53 +00:00
admin.py fix: Use CustomUserAdmin instead of Django's default UserAdmin to fix user creation bug 2025-12-29 21:47:53 +00:00
apps.py wip 2026-01-21 03:19:56 -08:00
asgi.py wip 2025-12-28 17:51:54 -08:00
forms.py rename archive_org to archivedotorg, add BinaryWorker, fix config pass-through 2026-01-04 22:38:15 -08:00
host_utils.py wip 2026-01-21 03:19:56 -08:00
middleware.py wip 2026-01-21 03:19:56 -08:00
models.py Fix #1139: Return tags as a JSON list in Snapshot.to_dict() for LLM/RAG integration 2026-02-20 21:21:38 -08:00
settings_logging.py cleanup tui, startup, card templtes, and more 2026-01-19 14:33:20 -08:00
settings.py wip 2026-01-21 03:19:56 -08:00
tests.py wip 2025-12-28 17:51:54 -08:00
urls.py wip 2026-01-21 03:19:56 -08:00
views.py wip 2026-01-21 03:19:56 -08:00
widgets.py wip 2026-01-21 03:19:56 -08:00
wsgi.py finally get rid of config/legacy in favor of configfile.py and django.py 2024-10-21 03:06:19 -07:00