Files
xiongjnu c898dad330 feat(rag): index managed Markdown figures with existing visual assets (#525)
* feat: embed local Markdown image references as data URIs during indexing

When a Markdown document references local images (e.g. ![](diagram.png)),
resolve them relative to the markdown file and inline as base64 data URIs
before passing the document to the embedding pipeline. This ensures images
packaged in a zip upload survive the extraction and indexing step without
broken links.

External URLs and data URIs are left untouched. Images exceeding 500 KB
are skipped to keep the index size reasonable.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>

* fix(server): use the telemetry logging API supported by FastAPI

---------

Co-authored-by: Claude Opus 4.7 <noreply@anthropic.com>
Co-authored-by: Bingxi Zhao (Frank) <13051345080@163.com>
2026-12-04 14:52:32 -05:00
..