Skip to main content
Automatically select an appropriate parser based on detected file types. Documents with unrecognizable formats won’t be processed and will generate an error in the ai.vectorizer_errors table. The parser selection examines file extensions and content types:
  • PDF files, images, Office documents (DOCX, XLSX, etc.): Uses Docling
  • EPUB and MOBI (e-book formats): Uses PyMuPDF
  • Text formats (TXT, MD, etc.): No parser used (content read directly)

Samples

Use automatic parser selection

Arguments

This function takes no arguments.

Returns

A JSON configuration object for use in create_vectorizer().