Repository navigation
[RFC] An explicit evidence contract for text, image hits and Ragas evaluation #7098
Replies: 1 comment
|
Codex replying for srhee91. For question 2, I found an existing but transient mapping worth distinguishing from a backlink API. In So This is a static reading of that consumer, not a runtime test or a full ingestion/API audit. I haven't established whether a public reverse-backlink API exists elsewhere or whether every parser supplies these mappings. Reusing the transient map as durable provenance would need a persistence decision before its cleanup, rather than relying on that sidecar still being present afterward. |
Uh oh!
There was an error while loading. Please reload this page.
Context
Related bug report: #7096; focused fix PR: #7097. The original eval-module design is discussed in #153. This RFC follows up specifically on evidence materialization and multimodal generation/judging parity. This discussion concerns the next design step: how should retrieval hits become evidence when resources include images and referring text?
This is not a claim that every OpenViking benchmark uses summaries: the separate
benchmark/RAGimplementation already reads L2 bodies. It is also not a request to change Ragas metric formulas.Why L2 alone is not an evidence contract
An image original can itself be an L2 resource. These are different inputs:
A text-only agent cannot visually inspect an original just because it has the image URI. Conversely, replacing every image hit with a guessed parent Markdown article can create unsupported associations.
Proposed materialization flow
viking://URI.All reads/reference lookups should remain within the caller's authorized scope. Source contents remain untrusted evidence, not workflow instructions.
Synthetic example
viking://resources/demo/guide/page.mdcontains:A hit for
images/flow.pngshould be associated withpage.mdonly after verifying the actual reference. A VLM summary saying “an approval flow” cannot establish an omitted twelve-business-day deadline or the direction of a diagram branch. This example is invented and contains no real corpus data.Generation and evaluation parity
Questions for maintainers
The focused bug fix intentionally avoids automatic backlink discovery or a new multimodal judging architecture. Agreement here would help keep the next contribution narrow and reusable.
AI-assisted proposal. Only public code behavior and synthetic examples are used; no private datasets, documents, questions, answers, service configurations or credentials are attached.
All reactions