mirror of
https://github.com/trustgraph-ai/trustgraph.git
synced 2026-04-25 16:36:21 +02:00
* 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
34 lines
975 B
Jsonnet
34 lines
975 B
Jsonnet
{
|
|
pattern: {
|
|
name: "embeddings-ollama",
|
|
icon: "🤖💬",
|
|
title: "Add embeddings model hosted on Ollama",
|
|
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: "mxbai-embed-large", description: "mxbai-embed-large" },
|
|
],
|
|
default: "mxbai-embed-large",
|
|
required: true,
|
|
},
|
|
{
|
|
name: "ollama-url",
|
|
label: "URL",
|
|
type: "text",
|
|
width: 120,
|
|
description: "URL of the Ollama service",
|
|
default: "http://ollama:11434",
|
|
required: true,
|
|
},
|
|
],
|
|
category: [ "embeddings" ],
|
|
},
|
|
module: "components/embeddings-hf.jsonnet",
|
|
}
|