mirror of
https://github.com/trustgraph-ai/trustgraph.git
synced 2026-04-25 08:26:21 +02:00
* Fix pulsar manager template import * Add pattern categories. Update parameters with new schema. * Add more parameters to config
23 lines
971 B
Jsonnet
23 lines
971 B
Jsonnet
{
|
||
pattern: {
|
||
name: "prompt-template-document-query",
|
||
icon: "📜️️💬",
|
||
title: "Override document query prompt",
|
||
description: "This pattern overrides the default document query prompt used for DocumentRAG allowing you to specify your own prompt.",
|
||
requires: ["pulsar", "trustgraph"],
|
||
features: ["document-query-prompt"],
|
||
args: [
|
||
{
|
||
name: "prompt-document-query-template",
|
||
type: "multiline",
|
||
size: 2000,
|
||
rows: 10,
|
||
description: "Document query prompt",
|
||
default: "Study the following context. Use only the information provided in the context in your response. Do not speculate if the answer is not found in the provided set of knowledge statements.\n\nHere is the context:\n{documents}\n\nUse only the provided knowledge statements to respond to the following:\n{query}\n",
|
||
required: true,
|
||
}
|
||
],
|
||
category: [ "prompting" ],
|
||
},
|
||
module: "components/null.jsonnet",
|
||
}
|