feat(ai-sdk): legal-corpus coverage + Phase-2 citation-graph assessment #33
Reference in New Issue
Block a user
Delete Branch "feat/coverage-legal-corpus-structure"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
GET /sdk/v1/rag/legal-corpus+ a structure section on/sdk/coverage— per-act distinct articles/annexes/recitals + chunk count, so the ingested corpus is no longer a black box.assessmentobject on/sdk/v1/rag/search—primary_norm,connected_norms(citation graph references_out/in),cross_regime,human_review_flag, NORM-levelwinner_margin,score_reasoning. Per-result schema frozen (graph fields internal).RAG_GRAPH_EXPANSION=true, default off): top hits pull referenced norms into the pool via the precise edge. Measured to add no rank gain over binding augmentation → ships as an off-by-default recall safety net. The graph EXPLAINS retrieval, it does not expand it by default.Test plan
assessmentpresent in search response