mirror of
https://github.com/trustgraph-ai/trustgraph.git
synced 2026-07-06 20:02:11 +02:00
Squashed 'ai-context/trustgraph-templates/' content from commit 42a5fd1b
git-subtree-dir: ai-context/trustgraph-templates git-subtree-split: 42a5fd1b678f32be378062e30451e2052ccb95dd
This commit is contained in:
commit
74cc8a4685
1216 changed files with 116347 additions and 0 deletions
|
|
@ -0,0 +1,30 @@
|
|||
// Structured RAG extraction module
|
||||
// Extracts structured rows from text chunks
|
||||
// Outputs to rows-store for structured data querying
|
||||
|
||||
local helpers = import "helpers.jsonnet";
|
||||
local flow = helpers.flow;
|
||||
local request = helpers.request;
|
||||
local response = helpers.response;
|
||||
|
||||
{
|
||||
"interfaces" +: {
|
||||
},
|
||||
|
||||
"parameters" +: {
|
||||
},
|
||||
|
||||
// Flow-level processor for structured row extraction
|
||||
"flow" +: {
|
||||
"kg-extract-rows:{id}": {
|
||||
input: flow("chunk-load:{id}"),
|
||||
output: flow("rows-store:{id}"),
|
||||
"entity-contexts": flow("entity-contexts-load:{id}"),
|
||||
"prompt-request": request("prompt:{id}"),
|
||||
"prompt-response": response("prompt:{id}"),
|
||||
},
|
||||
},
|
||||
|
||||
"blueprint" +: {
|
||||
},
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue