mirror of
https://github.com/trustgraph-ai/trustgraph.git
synced 2026-07-05 11:22:11 +02:00
git-subtree-dir: ai-context/trustgraph-templates git-subtree-split: 42a5fd1b678f32be378062e30451e2052ccb95dd
30 lines
773 B
Jsonnet
30 lines
773 B
Jsonnet
// Structured RAG extraction module
|
|
// Extracts structured objects from text chunks
|
|
// Outputs to objects-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 object extraction
|
|
"flow" +: {
|
|
"kg-extract-objects:{id}": {
|
|
input: flow("chunk-load:{id}"),
|
|
output: flow("objects-store:{id}"),
|
|
"entity-contexts": flow("entity-contexts-load:{id}"),
|
|
"prompt-request": request("prompt:{id}"),
|
|
"prompt-response": response("prompt:{id}"),
|
|
},
|
|
},
|
|
|
|
"blueprint" +: {
|
|
},
|
|
}
|