Create a new DocumentProcessor.
The processor dependencies.
Delete all chunks for a file from the vector store and remove metadata.
The file to delete.
Process a file through the full pipeline: extract, hash, chunk, embed, upsert.
The file to process.
Process a metadata update: merge metadata, write to disk, update Qdrant payloads (no re-embed).
The file whose metadata to update.
The new metadata to merge.
The merged payload, or null if the file is not indexed.
Re-apply inference rules to a file without re-embedding. Reads file attributes, applies current rules, merges with enrichment metadata, and updates Qdrant payloads.
The file to update.
The merged metadata, or null if the file is not indexed.
Update compiled inference rules, template engine, and custom map lib.
The newly compiled rules.
OptionaltemplateEngine: TemplateEngineOptional updated template engine.
OptionalcustomMapLib: Record<string, (...args: unknown[]) => unknown>Optional updated custom JsonMap lib functions.
Core document processing pipeline.
Handles extracting text, computing embeddings, and syncing with the vector store.