mirror of
https://github.com/trustgraph-ai/trustgraph.git
synced 2026-04-29 18:36:22 +02:00
Updates for config util repo (#47)
* Fix pulsar manager template import * Add pattern categories. Update parameters with new schema. * Add more parameters to config
This commit is contained in:
parent
06a9e913dc
commit
121f7bb776
23 changed files with 228 additions and 39 deletions
|
|
@ -9,13 +9,15 @@
|
|||
args: [
|
||||
{
|
||||
name: "prompt-relationship-template",
|
||||
type: "string",
|
||||
width: 2000,
|
||||
type: "multiline",
|
||||
size: 2000,
|
||||
rows: 10,
|
||||
description: "Relationship extraction prompt",
|
||||
default: "<instructions>\nStudy the following text and derive entity relationships. For each\nrelationship, derive the subject, predicate and object of the relationship.\nOutput relationships in JSON format as an arary of objects with fields:\n- subject: the subject of the relationship\n- predicate: the predicate\n- object: the object of the relationship\n- object-entity: false if the object is a simple data type: name, value or date. true if it is an entity.\n</instructions>\n\n<text>\n{text}\n</text>\n\n<requirements>\nYou will respond only with raw JSON format data. Do not provide\nexplanations. Do not use special characters in the abstract text. The\nabstract must be written as plain text. Do not add markdown formatting\nor headers or prefixes.\n</requirements>",
|
||||
required: true,
|
||||
}
|
||||
]
|
||||
],
|
||||
category: [ "prompting" ],
|
||||
},
|
||||
module: "components/null.jsonnet",
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue