mirror of
https://github.com/trustgraph-ai/trustgraph.git
synced 2026-04-25 08:26:21 +02:00
Template rejig (#48)
* document-rag / graph-rag refactor of templates * Tweaking the docs and categories * Clarify triple store vs RAG * Tweak knowledge graph linkage * Doc embedding for Qdrant * Fix document RAG on Qdrant * Fix templates * Bump version * Updated templates
This commit is contained in:
parent
121f7bb776
commit
208c219962
47 changed files with 1407 additions and 454 deletions
38
templates/patterns/graph-rag.jsonnet
Normal file
38
templates/patterns/graph-rag.jsonnet
Normal file
|
|
@ -0,0 +1,38 @@
|
|||
{
|
||||
pattern: {
|
||||
name: "graph-rag",
|
||||
icon: "🤝😂",
|
||||
title: "Add GraphRAG processing flow",
|
||||
description: "This pattern adds GraphRAG components for extracting and querying graph edges. You should make sure a triple store and vector store are included in your plan.",
|
||||
requires: ["pulsar", "trustgraph", "llm"],
|
||||
features: ["graph-rag"],
|
||||
args: [
|
||||
{
|
||||
name: "graph-rag-entity-limit",
|
||||
label: "GraphRAG entity query limit",
|
||||
type: "integer",
|
||||
description: "Limit on entities to fetch from vector store",
|
||||
default: 50,
|
||||
required: true,
|
||||
},
|
||||
{
|
||||
name: "graph-rag-triple-limit",
|
||||
label: "GraphRAG triple query limit",
|
||||
type: "integer",
|
||||
description: "Limit on triples to fetch from triple store",
|
||||
default: 30,
|
||||
required: true,
|
||||
},
|
||||
{
|
||||
name: "graph-rag-max-subgraph-size",
|
||||
label: "GraphRAG maximum subgraph size",
|
||||
type: "integer",
|
||||
description: "Limit on size of subgraph to present to text-completion model",
|
||||
default: 3000,
|
||||
required: true,
|
||||
},
|
||||
],
|
||||
category: [ "processing" ],
|
||||
},
|
||||
module: "components/trustgraph.jsonnet",
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue