mirror of
https://github.com/trustgraph-ai/trustgraph.git
synced 2026-07-16 00:31:02 +02:00
feat: structured source document references in graph-rag responses (#1035)
This commit is contained in:
parent
0374098ee9
commit
e9c6a850ad
20 changed files with 568 additions and 39 deletions
|
|
@ -23,6 +23,13 @@ properties:
|
|||
description: Provenance triples for this explain event (inline, no follow-up query needed)
|
||||
items:
|
||||
$ref: '../common/Triple.yaml'
|
||||
sources:
|
||||
type: array
|
||||
description: |
|
||||
Source documents the answer was derived from, deduplicated and sorted
|
||||
by URI. Present on the final message (end_of_session true).
|
||||
items:
|
||||
$ref: './Source.yaml'
|
||||
end_of_stream:
|
||||
type: boolean
|
||||
description: Indicates LLM response stream is complete
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue