Repository navigation
Carrel 0.4.0
This release connects source-preserving parsing, graph evidence and ontology review more closely. It adds scoped correction APIs and graph-version comparison, and moves multimodal parsing to models selected per knowledge base.
Parsing and evidence
- Preserve code whitespace, line ranges and configuration fields through parsing, chunking, graph extraction and source readback. Resolve code imports within their project and package scope.
- Improve PDF code recognition, section attribution, short-table recovery and row alignment. Recover visible form fields and retain images embedded in spreadsheets with their sheet and row locations.
- Pack adjacent short text when section and source boundaries support it. Keep code, tables and figures attached to their original evidence regions.
- Retain informative visual content, mark truncated or uncertain model output, and preserve original table text when a replacement cannot be aligned.
Graphs and ontology
- Preserve negated, conditional and uncertain claims with their qualifiers. Carry entity identity and scope information into extraction, and validate relationship endpoints against the schema.
- Carry observation dates, units, conditions and source locations into facts and cross-document series. Default retrieval retains historical, conflicting and future claims; fact queries with an explicit cutoff date filter both facts and change summaries.
- Reuse schema definitions supported by current source evidence, account for uncovered document types and retain endpoint-use statistics for review. Corpus changes can introduce new types without treating past frequency as a permanent constraint.
- Compare graph versions and distinguish changed source material from changed extraction output. Keep three graph versions by default and retain schema versions referenced by retained builds.
- Add preview, commit and revoke APIs for corrections scoped to knowledge-base identity, graph version and source evidence. Track stale records and preserve correction outcomes when a build resumes.
Retrieval and model configuration
- Share model-parameter compatibility across connectivity checks, graph calls and image descriptions. Keep free-form model registration and add scoped overrides for custom deployments.
- Improve fused text/image candidate selection, source diversity and bounded original-text excerpts. The search Skill can navigate documents, locate phrases and follow graph evidence with reusable source references.
- Choose one multimodal model from the console registry for each knowledge base. Images, charts and table review share it; later parsing tasks use the current selection.
- Remove the bundled local VLM container. The optional local-model profile now provides four embedding and reranking services. Vision endpoints can run on another host or through a compatible provider.
Web console
- Complete bilingual progress and error messages, including messages containing Chinese model or knowledge-base names.
- Unify parsing and graph-build stages, actual work counts and waiting states. Task details show models, versions and stage records; overall progress is marked as an estimate.
- Add explicit pause and resume controls for parsing.
- Improve file-list layout with stable column widths, a resizable sidebar, compact parsing notes and direct page selection.
Design
Carrel keeps original evidence, RAG indexes and ontology graphs connected. Technical checks establish source identity, structural consistency and time scope. Reviewed corrections capture business interpretation with supporting evidence.
The Agent Loop plugin remains in development and is not yet implemented. It is intended to help agents learn an enterprise ontology, seek clarification from people and contribute evidence-backed governance feedback.
Capability evaluation
The 0.4.0 evaluation covers 5 knowledge bases and 3,587 files, with 275 source-grounded retrieval questions, 75 questions compared across answer-generation conditions, and 100 synthetic questions for temporal, conflict, ontology and related scenarios.
The full technical report includes:
- Retrieval metrics and graph/reranking ablations.
- Cross-document answers and targeted Skill follow-up.
- Temporal evidence, conflicting claims and source traceability.
- Ontology topic evolution and graph rebuild stability.
- Model configurations, anonymized examples, latency and token usage.
Upgrade from 0.3
- Update the checkout to
v0.4.0and run./deploy.shwith your deployment options. The script removes the retired bundled VLM service and its matching default configuration; custom vision endpoints are preserved. - Register a vision-capable, OpenAI-compatible model in the console and select it for each knowledge base that uses multimodal parsing.
- Restart
carrel-webandcarrel-search, or the corresponding application processes on other hosts. - Plan processing capacity for the parser-profile upgrade. Formats receiving the new
+source-v1profile include PDF, DOCX, PPTX, Markdown, source code and notebooks. The next scan requeues indexed files whose recorded profile differs. Files with no recorded profile need an explicit reparse; standalone images, XLSX/XLS/CSV/TSV and legacy DOC keep their existing profiles. - Reparse selected files to apply improvements that keep the same profile, then rebuild enabled graphs to apply the new extraction and evidence rules. Graph updates continue to follow each knowledge base’s incremental/rebuild policy.
New parsing tasks use the current multimodal model selection. To refresh existing documents, use the console’s reparse action, followed by graph rebuilding where enabled.