-
Notifications
You must be signed in to change notification settings - Fork 34
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixes #2112.
- Loading branch information
Showing
4 changed files
with
287 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
208 changes: 208 additions & 0 deletions
208
packages/website/src/static/boards/joiner-example.bgl.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,208 @@ | ||
{ | ||
"title": "Card Maker", | ||
"version": "0.0.1", | ||
"metadata": { | ||
"comments": [ | ||
{ | ||
"id": "comment-571ff92f", | ||
"text": "Writes contents of \na game card", | ||
"metadata": { | ||
"visual": { | ||
"x": -129, | ||
"y": 70, | ||
"collapsed": false | ||
} | ||
} | ||
}, | ||
{ | ||
"id": "comment-6ce6abeb", | ||
"text": "Uses the contents to craft a prompt and create picture.", | ||
"metadata": { | ||
"visual": { | ||
"x": -77, | ||
"y": -175, | ||
"collapsed": false | ||
} | ||
} | ||
}, | ||
{ | ||
"id": "comment-b99d3821", | ||
"text": "Narrates the text \nof the card", | ||
"metadata": { | ||
"visual": { | ||
"x": 50, | ||
"y": -29, | ||
"collapsed": false | ||
} | ||
} | ||
}, | ||
{ | ||
"id": "comment-6907d9cd", | ||
"text": "Joins picture, voice, and text into one card.", | ||
"metadata": { | ||
"visual": { | ||
"x": 268, | ||
"y": 113, | ||
"collapsed": false | ||
} | ||
} | ||
} | ||
] | ||
}, | ||
"edges": [ | ||
{ | ||
"from": "input", | ||
"to": "specialist-42832612", | ||
"out": "context", | ||
"in": "in" | ||
}, | ||
{ | ||
"from": "specialist-42832612", | ||
"to": "specialist-5b7a9d43", | ||
"out": "out", | ||
"in": "in" | ||
}, | ||
{ | ||
"from": "specialist-42832612", | ||
"to": "specialist-6a61c0b5", | ||
"out": "out", | ||
"in": "in" | ||
}, | ||
{ | ||
"from": "specialist-42832612", | ||
"to": "joiner-22b013c9", | ||
"out": "out", | ||
"in": "c-text" | ||
}, | ||
{ | ||
"from": "specialist-5b7a9d43", | ||
"to": "joiner-22b013c9", | ||
"out": "out", | ||
"in": "a-picture" | ||
}, | ||
{ | ||
"from": "specialist-6a61c0b5", | ||
"to": "joiner-22b013c9", | ||
"out": "out", | ||
"in": "b-voice" | ||
}, | ||
{ | ||
"from": "joiner-22b013c9", | ||
"to": "output", | ||
"out": "context", | ||
"in": "context" | ||
} | ||
], | ||
"nodes": [ | ||
{ | ||
"type": "input", | ||
"id": "input", | ||
"configuration": { | ||
"schema": { | ||
"properties": { | ||
"context": { | ||
"type": "array", | ||
"title": "Context", | ||
"examples": [], | ||
"items": { | ||
"type": "object", | ||
"behavior": ["llm-content"] | ||
}, | ||
"default": "[{\"role\":\"user\",\"parts\":[{\"text\":\"\"}]}]" | ||
} | ||
}, | ||
"type": "object", | ||
"required": [] | ||
} | ||
}, | ||
"metadata": { | ||
"visual": { | ||
"x": -213, | ||
"y": -127, | ||
"collapsed": false | ||
} | ||
} | ||
}, | ||
{ | ||
"type": "output", | ||
"id": "output", | ||
"configuration": { | ||
"schema": { | ||
"properties": { | ||
"context": { | ||
"type": "array", | ||
"title": "Context", | ||
"examples": [], | ||
"items": { | ||
"type": "object", | ||
"behavior": ["llm-content"] | ||
}, | ||
"default": "null" | ||
} | ||
}, | ||
"type": "object", | ||
"required": [] | ||
} | ||
}, | ||
"metadata": { | ||
"visual": { | ||
"x": 369, | ||
"y": -148, | ||
"collapsed": false | ||
} | ||
} | ||
}, | ||
{ | ||
"id": "specialist-42832612", | ||
"type": "specialist", | ||
"metadata": { | ||
"visual": { | ||
"x": -167, | ||
"y": 126, | ||
"collapsed": false | ||
}, | ||
"title": "Writer", | ||
"logLevel": "debug" | ||
} | ||
}, | ||
{ | ||
"id": "specialist-5b7a9d43", | ||
"type": "specialist", | ||
"metadata": { | ||
"visual": { | ||
"x": 45, | ||
"y": -123, | ||
"collapsed": false | ||
}, | ||
"title": "Illustrator", | ||
"logLevel": "debug" | ||
} | ||
}, | ||
{ | ||
"id": "specialist-6a61c0b5", | ||
"type": "specialist", | ||
"metadata": { | ||
"visual": { | ||
"x": 90, | ||
"y": 24, | ||
"collapsed": false | ||
}, | ||
"title": "Narrator", | ||
"logLevel": "debug" | ||
} | ||
}, | ||
{ | ||
"id": "joiner-22b013c9", | ||
"type": "joiner", | ||
"metadata": { | ||
"visual": { | ||
"x": 354, | ||
"y": 2, | ||
"collapsed": false | ||
}, | ||
"title": "Card Maker", | ||
"logLevel": "debug" | ||
} | ||
} | ||
] | ||
} |
59 changes: 59 additions & 0 deletions
59
packages/website/src/static/boards/new-joiner-port.bgl.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,59 @@ | ||
{ | ||
"title": "Wiring Joiner ", | ||
"version": "0.0.1", | ||
"metadata": { | ||
"comments": [ | ||
{ | ||
"id": "comment-f59dbc67", | ||
"text": "Drag a wire from \"Context Out\" ...", | ||
"metadata": { | ||
"visual": { | ||
"x": 19, | ||
"y": -46, | ||
"collapsed": false | ||
} | ||
} | ||
}, | ||
{ | ||
"id": "comment-58b1c17b", | ||
"text": "... to the center of Joiner and then let go. You will then be asked to name the incoming port for this wire.", | ||
"metadata": { | ||
"visual": { | ||
"x": 259, | ||
"y": -1, | ||
"collapsed": false | ||
} | ||
} | ||
} | ||
] | ||
}, | ||
"edges": [], | ||
"nodes": [ | ||
{ | ||
"id": "specialist-be4d952e", | ||
"type": "specialist", | ||
"metadata": { | ||
"visual": { | ||
"x": -39, | ||
"y": 8, | ||
"collapsed": false | ||
}, | ||
"title": "Illustrator", | ||
"logLevel": "debug" | ||
} | ||
}, | ||
{ | ||
"id": "joiner-ddb55d72", | ||
"type": "joiner", | ||
"metadata": { | ||
"visual": { | ||
"x": 221, | ||
"y": -71, | ||
"collapsed": false | ||
}, | ||
"title": "Card Maker", | ||
"logLevel": "debug" | ||
} | ||
} | ||
] | ||
} |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.