Create a new DocumentProcessor.
The processor dependencies.
Delete all chunks for a file from the vector store and remove metadata.
The file to delete.
Move a file's vector points from old path to new path without re-embedding. Re-applies inference rules against the new path.
The original file path.
The new file path.
Process a file through the full pipeline: extract, hash, chunk, embed, upsert.
The file to process.
Process a metadata update: merge into enrichment store, 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.
Render a file through the rule engine without embedding. Returns rendered content, renderAs, matched rules, and metadata.
The file to render.
The render result.
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.