Skip to content

Commit e9df57d

Browse files
Boris Devclaude
andcommitted
Define IR up front in the Beyond RAG paper
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent c954680 commit e9df57d

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

docs/domain-grammar-compiler.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,16 @@
44

55
---
66

7+
## What is an IR?
8+
9+
An **intermediate representation (IR)** is a typed, structured model that sits between source inputs and execution targets. In compilers, one IR lets many source languages (C, Rust, Swift) target many backends (x86, ARM, GPU). The IR carries the meaning; everything around it is translation.
10+
11+
The same shape carries to LLM-driven knowledge systems. Many natural-language inputs — papers, user questions, expert annotations — translate into one IR. One IR drives many outputs: graph queries, structured reports, evidence views. The LLM handles the messy translation at the edges. The IR holds the domain semantics.
12+
13+
This paper is about designing such an IR for knowledge work.
14+
15+
---
16+
717
## Abstract
818

919
Most AI knowledge systems are RAG pipelines: embed documents, retrieve by similarity, generate text. They work until you need *auditable reasoning* — provenance, contradiction detection, cross-source inference.

0 commit comments

Comments
 (0)