Skip to content

Vector stores: index PDF, DOCX and PPTX, not text only #142

Description

@JGoutin

/v1/vector_stores indexes UTF-8-decodable text only. A PDF, DOCX or PPTX attached to a
store settles as status=failed with last_error.code=unsupported_file, where the
upstream API indexes .pdf, .doc, .docx and .pptx alongside the code and text
formats.

PDF is the dominant real-world corpus for retrieval, so the limitation is the difference
between a store a customer can use and one they cannot. It is currently documented rather
than silent, which is the correct interim state.

Feature: extract document text before chunking, for at least PDF and DOCX. The repository
already ships a Docling-based ingestion sample, and the agentic suite already exercises
Docling against the gateway, so the extraction path has a proven precedent to follow.

Decide explicitly whether extraction runs in-process (a runtime dependency in both
container images, per stdapi-container-image) or via an AWS service, and record the
reason — the choice binds the image size and the cold-start budget.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status
    Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions