mirror of
https://github.com/trustgraph-ai/trustgraph.git
synced 2026-04-27 09:26:22 +02:00
Maint/neater prompt jsonnet (#127)
* Changed the JSONNET for prompt-template so that prompt templates are simpler. This tidies default-prompts.jsonnet so it's easier to see where the prompts are. * Updated prompt override templates to match new structure
This commit is contained in:
parent
b07d539802
commit
2942c4dcf0
7 changed files with 303 additions and 99 deletions
|
|
@ -1,23 +1,42 @@
|
|||
// For OpenAI LLMs. Not currently overriding prompts
|
||||
|
||||
// For OpenAI LLMs
|
||||
local prompts = import "default-prompts.jsonnet";
|
||||
|
||||
local base = import "base/base.jsonnet";
|
||||
local images = import "values/images.jsonnet";
|
||||
local url = import "values/url.jsonnet";
|
||||
prompts + {
|
||||
|
||||
{
|
||||
// "system-template":: "PROMPT GOES HERE.",
|
||||
|
||||
// "prompt-definition-template": "PROMPT GOES HERE",
|
||||
"templates" +:: {
|
||||
|
||||
// "prompt-relationship-template":: "PROMPT GOES HERE",
|
||||
"question" +:: {
|
||||
// "prompt": "PROMPT GOES HERE",
|
||||
},
|
||||
|
||||
// "prompt-topic-template":: "PROMPT GOES HERE",
|
||||
"extract-definitions" +:: {
|
||||
// "prompt": "PROMPT GOES HERE",
|
||||
},
|
||||
|
||||
// "prompt-knowledge-query-template":: "PROMPT GOES HERE",
|
||||
"extract-relationships" +:: {
|
||||
// "prompt": "PROMPT GOES HERE",
|
||||
},
|
||||
|
||||
// "prompt-document-query-template":: "PROMPT GOES HERE",
|
||||
"extract-topics" +:: {
|
||||
// "prompt": "PROMPT GOES HERE",
|
||||
},
|
||||
|
||||
// "prompt-rows-template":: "PROMPT GOES HERE",
|
||||
"extract-rows" +:: {
|
||||
// "prompt": "PROMPT GOES HERE",
|
||||
},
|
||||
|
||||
"kg-prompt" +:: {
|
||||
// "prompt": "PROMPT GOES HERE",
|
||||
},
|
||||
|
||||
"document-prompt" +:: {
|
||||
// "prompt": "PROMPT GOES HERE",
|
||||
},
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue