{
pattern: {
name: "prompt-template-rows-template",
icon: "📜️️💬",
title: "Override table/row extraction prompt",
description: "This pattern overrides the default table/row extraction prompt to be changed. This is used for DatabaseRAG pipelines.",
requires: ["pulsar", "trustgraph"],
features: ["extract-rows-prompt"],
args: [
{
name: "prompt-rows-template",
type: "multiline",
size: 2000,
rows: 10,
description: "Row data extraction prompt",
default: "\nStudy the following text and derive objects which match the schema provided.\n\nYou must output an array of JSON objects for each object you discover\nwhich matches the schema. For each object, output a JSON object whose fields\ncarry the name field specified in the schema.\n\n\n\n{schema}\n\n\n\n{text}\n\n\n\nYou will respond only with raw JSON format data. Do not provide\nexplanations. Do not add markdown formatting or headers or prefixes.\n",
required: true,
}
],
category: [ "prompting" ],
},
module: "components/null.jsonnet",
}