Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[website] Update board layouts #4030

Merged
merged 2 commits into from
Dec 16, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .changeset/honest-lizards-buy.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@google-labs/breadboard-website": patch
---

Update board layouts
23 changes: 15 additions & 8 deletions packages/website/src/static/boards/blank.bgl.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,9 @@
"examples": [],
"items": {
"type": "object",
"behavior": ["llm-content"]
"behavior": [
"llm-content"
]
},
"default": "[{\"role\":\"user\",\"parts\":[{\"text\":\"\"}]}]"
}
Expand All @@ -25,9 +27,9 @@
},
"metadata": {
"visual": {
"x": 0,
"y": 0,
"collapsed": false
"x": -174,
"y": -1,
"collapsed": "expanded"
}
}
},
Expand All @@ -43,7 +45,9 @@
"examples": [],
"items": {
"type": "object",
"behavior": ["llm-content"]
"behavior": [
"llm-content"
]
},
"default": "null"
}
Expand All @@ -56,7 +60,7 @@
"visual": {
"x": 173,
"y": 0,
"collapsed": false
"collapsed": "expanded"
}
}
}
Expand All @@ -68,5 +72,8 @@
"to": "output",
"in": "context"
}
]
}
],
"metadata": {
"visual": {}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,9 @@
},
"metadata": {
"visual": {
"x": -82,
"y": -188,
"collapsed": false
"x": -287,
"y": -185,
"collapsed": "expanded"
}
}
},
Expand Down Expand Up @@ -58,9 +58,9 @@
},
"metadata": {
"visual": {
"x": 347,
"y": -66,
"collapsed": false
"x": 505,
"y": -90,
"collapsed": "expanded"
}
}
},
Expand All @@ -69,9 +69,9 @@
"type": "service",
"metadata": {
"visual": {
"x": 109,
"x": 95,
"y": -133,
"collapsed": false
"collapsed": "expanded"
},
"title": "Get Song Lyrics",
"logLevel": "debug"
Expand All @@ -85,9 +85,9 @@
"type": "secrets",
"metadata": {
"visual": {
"x": -122,
"y": -68,
"collapsed": false
"x": -363,
"y": -37,
"collapsed": "expanded"
},
"title": "Get BSE Key",
"logLevel": "debug"
Expand Down Expand Up @@ -118,5 +118,8 @@
"out": "BB_LIVE_KEY",
"in": "$key"
}
]
],
"metadata": {
"visual": {}
}
}
37 changes: 19 additions & 18 deletions packages/website/src/static/boards/business-researcher.bgl.json
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,8 @@
},
"metadata": {
"visual": {
"x": 816.9999999999998,
"y": -33,
"x": 954.000000000001,
"y": -9,
"collapsed": "expanded"
},
"title": "Report",
Expand All @@ -74,7 +74,7 @@
"type": "specialist",
"metadata": {
"visual": {
"x": 59.00000000000006,
"x": 59.00000000000034,
"y": -208.99999999999994,
"collapsed": "expanded"
},
Expand Down Expand Up @@ -112,8 +112,8 @@
"type": "output",
"metadata": {
"visual": {
"x": 473.9999999999999,
"y": -321.00000000000006,
"x": 537.0000000000001,
"y": -299,
"collapsed": "expanded"
},
"title": "Intermediate Thought Process",
Expand Down Expand Up @@ -146,8 +146,8 @@
"type": "specialist",
"metadata": {
"visual": {
"x": 446.9999999999999,
"y": -45,
"x": 520.0000000000001,
"y": 10,
"collapsed": "expanded"
},
"title": "Report Writer",
Expand Down Expand Up @@ -178,8 +178,8 @@
"type": "content",
"metadata": {
"visual": {
"x": -300,
"y": 146.9999999999999,
"x": -451,
"y": 145,
"collapsed": "expanded"
},
"title": "Report Template",
Expand Down Expand Up @@ -249,8 +249,8 @@
"text": "The Researcher loops onto itself, forming a ReAct loop: it continuously generates a thought and an action based on that thought, then invokes tool to produce observations, and repeats the process until it concludes it is done.",
"metadata": {
"visual": {
"x": 39,
"y": -408,
"x": 132,
"y": -414,
"collapsed": "expanded"
}
}
Expand All @@ -260,8 +260,8 @@
"text": "This output is not technically necessary. It simply gives us a glimpe inside of the ReAct loop.",
"metadata": {
"visual": {
"x": 460.9999999999999,
"y": -437,
"x": 588.0000000000001,
"y": -422,
"collapsed": "expanded"
}
}
Expand All @@ -271,8 +271,8 @@
"text": "The Report Writer takes all the raw research dug up by the Researcher and turns it into a nice business report. ",
"metadata": {
"visual": {
"x": 533.9999999999999,
"y": -162.00000000000006,
"x": 567.0000000000001,
"y": -125.00000000000006,
"collapsed": "expanded"
}
}
Expand All @@ -282,15 +282,16 @@
"text": "The Report Template provides one place where we can specify what we would like to be included in the report. It is used by both Researcher and Report Writer.",
"metadata": {
"visual": {
"x": -220,
"y": -14,
"x": -456.00000000000006,
"y": -43,
"collapsed": "expanded"
}
}
}
],
"tags": [
"published"
]
],
"visual": {}
}
}
31 changes: 16 additions & 15 deletions packages/website/src/static/boards/co-creator.bgl.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@
},
"metadata": {
"visual": {
"x": 956.9999999999998,
"y": -140,
"x": 931,
"y": -134,
"collapsed": "expanded"
}
}
Expand All @@ -38,8 +38,8 @@
"type": "specialist",
"metadata": {
"visual": {
"x": 148.00000000000006,
"y": -346.00000000000006,
"x": -34,
"y": -282,
"collapsed": "expanded"
},
"title": "Respond and Route",
Expand Down Expand Up @@ -73,8 +73,8 @@
"type": "human",
"metadata": {
"visual": {
"x": 511,
"y": -584,
"x": 516,
"y": -583,
"collapsed": "expanded"
},
"title": "Human",
Expand All @@ -90,8 +90,8 @@
"type": "content",
"metadata": {
"visual": {
"x": 571,
"y": -276.00000000000006,
"x": 513,
"y": -187,
"collapsed": "expanded"
},
"title": "Get Only Latest",
Expand All @@ -114,8 +114,8 @@
"type": "content",
"metadata": {
"visual": {
"x": 163.99999999999994,
"y": 177,
"x": -34,
"y": 180,
"collapsed": "expanded"
},
"title": "Content",
Expand All @@ -138,8 +138,8 @@
"type": "runJavascript",
"metadata": {
"visual": {
"x": 517.9999999999999,
"y": 177.99999999999977,
"x": 539,
"y": 107,
"collapsed": "expanded"
},
"title": "Slice Last Result Off",
Expand All @@ -155,8 +155,8 @@
"type": "input",
"metadata": {
"visual": {
"x": -365.99999999999983,
"y": -246.99999999999994,
"x": -557,
"y": -165,
"collapsed": "expanded"
},
"title": "Input",
Expand Down Expand Up @@ -271,6 +271,7 @@
"published",
"component"
],
"comments": []
"comments": [],
"visual": {}
}
}
Loading
Loading