generated from hejny/spacetrim
-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy path70-parameter-used-in-reverse-order.ptbk.json
57 lines (57 loc) · 1.81 KB
/
70-parameter-used-in-reverse-order.ptbk.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
{
"title": "✨ Sample of logic error",
"promptbookUrl": "https://promptbook.example.com/samples/parameter-used-in-reverse-order.ptbk.md@v1",
"promptbookVersion": "1.0.0",
"description": "Sample of using parameter in reverse order\n\n_Note: This is not recommended but it should work_",
"parameters": [
{
"name": "word",
"description": "Any single word",
"isInput": true,
"isOutput": false
},
{
"name": "sentenceWithTwoSynonyms",
"isInput": false,
"isOutput": true
},
{
"name": "wordSynonym",
"isInput": false,
"isOutput": false
}
],
"promptTemplates": [
{
"name": "sentence",
"title": "Sentence",
"description": "Sentence with word and wordSynonym",
"dependentParameterNames": [
"word",
"wordSynonym"
],
"executionType": "PROMPT_TEMPLATE",
"modelRequirements": {
"modelVariant": "CHAT",
"modelName": "gpt-3.5-turbo"
},
"content": "Write sentence with \"{word}\" and \"{wordSynonym}\" in it",
"resultingParameterName": "sentenceWithTwoSynonyms"
},
{
"name": "synonym",
"title": "Synonym",
"description": "Synonym for word",
"dependentParameterNames": [
"word"
],
"executionType": "PROMPT_TEMPLATE",
"modelRequirements": {
"modelVariant": "CHAT",
"modelName": "gpt-3.5-turbo"
},
"content": "Write synonym for \"{word}\"",
"resultingParameterName": "wordSynonym"
}
]
}