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:
cybermaggedon 2024-09-03 00:09:15 +01:00 committed by GitHub
parent 121f7bb776
commit 208c219962
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
47 changed files with 1407 additions and 454 deletions

View 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",
}