Skip to content

Commit

Permalink
Add an example prompt name-limerick.
Browse files Browse the repository at this point in the history
Part of #36.
  • Loading branch information
jkomoros committed Jul 4, 2023
1 parent a7b09e9 commit 3d29ce9
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions seeds/example-complex.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,21 @@
{
"version": 0,
"seeds": {
"name-limerick":{
"type": "prompt",
"prompt": {
"type": "render",
"template": "Write a limerick about a person named {{name}}, where {{name}} is used as a rhyme.",
"vars": {
"type": "object",
"properties": {
"name": {
"id": "prompt-name"
}
}
}
}
},
"prompt-name": {
"type": "let",
"name": "komoroske.com:user_first_name",
Expand Down

0 comments on commit 3d29ce9

Please sign in to comment.