Skip to content

Support .txt and .docx files in document ingestion #2

Description

@Rahul83100

Today the ingestion API supports PDF, URL, YouTube and crawl. Plain .txt and .docx are common knowledge-base formats worth adding.

  • Accept .txt uploads (read as UTF-8)
  • Accept .docx (e.g. via the mammoth package)
  • Wire into the existing chunk → embed pipeline in src/services/

See src/routes/documents.js and the chunker/embedder services for where to plug in.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions