mirror of
https://github.com/trustgraph-ai/trustgraph.git
synced 2026-04-26 08:56: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
26
templates/patterns/embeddings-hf.jsonnet
Normal file
26
templates/patterns/embeddings-hf.jsonnet
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
{
|
||||
pattern: {
|
||||
name: "embeddings-hf",
|
||||
icon: "🤖💬",
|
||||
title: "Add embeddings model which uses HuggingFace models",
|
||||
description: "This pattern integrates an embeddings model based on HuggingFace sentence-transformer library.",
|
||||
requires: ["pulsar", "trustgraph"],
|
||||
features: ["llm"],
|
||||
args: [
|
||||
{
|
||||
name: "embeddings-model",
|
||||
label: "Embeddings model",
|
||||
type: "select",
|
||||
description: "Embeddings model for sentence analysis",
|
||||
options: [
|
||||
{ id: "all-MiniLM-L6-v2", description: "all-MiniLM-L6-v2" },
|
||||
{ id: "mixedbread-ai/mxbai-embed-large-v1", description: "mxbai-embed-large-v1" },
|
||||
],
|
||||
default: "all-MiniLM-L6-v2",
|
||||
required: true,
|
||||
},
|
||||
],
|
||||
category: [ "embeddings" ],
|
||||
},
|
||||
module: "components/embeddings-hf.jsonnet",
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue