llama-stack-mirror/llama_stack/providers
Ben Browning 8bf1d91d38 feat: Add synthetic-data-kit for file_search doc conversion
This adds a `builtin::document_conversion` tool for converting
documents when used with file_search that uses
meta-llama/synthetic-data-kit. I also have another local
implementation that uses Docling, but need to debug some segfault
issues I'm hitting locally with that so pushing this first as a
simpler reference implementation.

Long-term I think we'll want a remote implemention here as well - like
perhaps docling-serve or unstructured.io - but need to look more into
that.

This passes the existing
`tests/verifications/openai_api/test_responses.py` but doesn't yet add
any new tests for file types besides text and pdf.

Signed-off-by: Ben Browning <bbrownin@redhat.com>
2025-06-27 13:31:38 -04:00
..
inline feat: Add synthetic-data-kit for file_search doc conversion 2025-06-27 13:31:38 -04:00
registry feat: Add synthetic-data-kit for file_search doc conversion 2025-06-27 13:31:38 -04:00
remote fix: Some missed env variable changes from PR 2490 (#2538) 2025-06-26 17:59:15 -07:00
utils feat: Add synthetic-data-kit for file_search doc conversion 2025-06-27 13:31:38 -04:00
__init__.py API Updates (#73) 2024-09-17 19:51:35 -07:00
datatypes.py fix: finish conversion to StrEnum (#2514) 2025-06-26 08:01:26 +05:30