Skip to content

Commit

Permalink
Add a greeter. (#321)
Browse files Browse the repository at this point in the history
  • Loading branch information
dglazkov authored Apr 23, 2024
1 parent 5dbf172 commit 30d02d2
Showing 1 changed file with 54 additions and 11 deletions.
65 changes: 54 additions & 11 deletions seeds/team-experiments/graphs/bgl/insta/onboard-for-social.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,12 @@
"to": "output-0a357b6f",
"out": "*",
"in": ""
},
{
"from": "worker-ba979ccb",
"to": "repeater-7e200641",
"out": "context",
"in": "context"
}
],
"nodes": [
Expand All @@ -16,8 +22,8 @@
"type": "repeater",
"metadata": {
"visual": {
"x": 32.999999999999986,
"y": -498
"x": 234,
"y": -509
},
"title": "Chat Bot",
"logLevel": "debug"
Expand All @@ -38,6 +44,20 @@
"y": -465
}
}
},
{
"id": "worker-ba979ccb",
"type": "worker",
"configuration": {
"context": [],
"instruction": "You are a greeter. Please greet the user with kindness and warmth."
},
"metadata": {
"visual": {
"x": -33,
"y": -475
}
}
}
],
"graphs": {
Expand All @@ -64,8 +84,8 @@
},
"metadata": {
"visual": {
"x": 568,
"y": -595
"x": 673,
"y": -542
}
}
},
Expand All @@ -74,8 +94,8 @@
"type": "human",
"metadata": {
"visual": {
"x": 129,
"y": -580
"x": 78,
"y": -703
}
}
},
Expand All @@ -84,8 +104,8 @@
"type": "worker",
"metadata": {
"visual": {
"x": 335,
"y": -577
"x": 223,
"y": -477
}
},
"configuration": {
Expand All @@ -97,8 +117,8 @@
"type": "input",
"metadata": {
"visual": {
"x": -73,
"y": -578
"x": -93,
"y": -535
}
},
"configuration": {
Expand All @@ -114,6 +134,23 @@
"type": "object"
}
}
},
{
"id": "runJavascript-04637cff",
"type": "runJavascript",
"metadata": {
"visual": {
"x": 419,
"y": -732
},
"title": "Exit Checker",
"logLevel": "debug"
},
"configuration": {
"name": "run",
"raw": "on",
"code": "function run({context}) { return { context } }"
}
}
],
"edges": [
Expand All @@ -125,7 +162,7 @@
},
{
"from": "worker-3fec00f6",
"to": "output",
"to": "runJavascript-04637cff",
"out": "context",
"in": "context"
},
Expand All @@ -134,6 +171,12 @@
"to": "human-e8cf008d",
"out": "context",
"in": "context"
},
{
"from": "runJavascript-04637cff",
"to": "output",
"out": "context",
"in": "context"
}
],
"url": "idb://default/blank.json#58849527-9663-4146-9531-91c1f0c986ab"
Expand Down

0 comments on commit 30d02d2

Please sign in to comment.