Skip to content

Commit

Permalink
Cut down the number of search results to 30.
Browse files Browse the repository at this point in the history
  • Loading branch information
dglazkov committed Apr 26, 2024
1 parent 9df3440 commit 7102bfc
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 103 deletions.
113 changes: 11 additions & 102 deletions seeds/team-experiments/graphs/bgl/insta/chat-with-tools.bgl.json
Original file line number Diff line number Diff line change
@@ -1,43 +1,28 @@
{
"title": "Simple Chat Bot ",
"description": "This is the simplest possible chatbot",
"title": "Tool-using Chat Boot",
"description": "This chatbot uses search and get web page tools.",
"version": "0.0.1",
"nodes": [
{
"id": "curry-dea06ed9",
"type": "curry",
"id": "repeater-b5a64681",
"type": "repeater",
"metadata": {
"visual": {
"x": -337,
"y": 79
}
"x": 59.999999999999886,
"y": 0
},
"title": "Chat Loop",
"logLevel": "debug"
},
"configuration": {
"$board": {
"worker": {
"kind": "board",
"path": "#940f7c71-f50a-4cd5-ad9b-0c9d07702ab5"
}
}
},
{
"id": "repeater-b5a64681",
"type": "repeater",
"metadata": {
"visual": {
"x": 60,
"y": -1.4210854715202004e-14
}
}
}
],
"edges": [
{
"from": "curry-dea06ed9",
"to": "repeater-b5a64681",
"out": "board",
"in": "worker"
}
],
"edges": [],
"graphs": {
"940f7c71-f50a-4cd5-ad9b-0c9d07702ab5": {
"title": "Single Turn",
Expand Down Expand Up @@ -166,82 +151,6 @@
}
],
"url": "file://fsapi~insta/chat-with-tools.bgl.json#940f7c71-f50a-4cd5-ad9b-0c9d07702ab5"
},
"546708aa-d1c8-4f3a-9c27-45f54f1a7e24": {
"title": "Get Web Page",
"description": "Given a URL, replies with the text contents of the Web page.",
"version": "0.0.1",
"nodes": [
{
"type": "input",
"id": "input",
"configuration": {
"schema": {
"type": "object",
"properties": {
"text": {
"type": "string",
"title": "text"
}
}
}
},
"metadata": {
"visual": {
"x": -218,
"y": 71
}
}
},
{
"type": "output",
"id": "output",
"configuration": {
"schema": {
"type": "object",
"properties": {
"text": {
"type": "string",
"title": "text"
}
}
}
},
"metadata": {
"visual": {
"x": 357,
"y": 24
}
}
},
{
"id": "promptTemplate-edab9017",
"type": "promptTemplate",
"metadata": {
"visual": {
"x": 17,
"y": -21
}
},
"configuration": {
"template": "{\"url\":\"{{url}}\",\"content\":\"Show docs\\nBREADBOARD\\nA GENERATIVE AI PROTOTYPE FRAMEWORK\\nGET STARTED →\\nMake Anything\\n\\nBreadboard lets you design sophisticated Generative AI experiences. Build complex workflows visually, free from API wrangling.\\n\\nDebug On the Fly\\n\\nStart making boards and see them visualized in real time.\\n\\nFlexible Kits\\n\\nNo need to reinvent the wheel. From AI to webcam capture, we’ve got you covered.\\n\\nOpen Source\\n\\nWant to contribute? Feel free! Breadboard is completely open source on GitHub.\\n\\nThe Happy Path\\n\\nIf you're eager to start making boards with Breadboard as quickly as possible, here's a yellow brick road that will take you there. It's not quite a tutorial, but more like a step-by-step onboarding guide with some of the best practices baked in.\\n\\nGET GOING →\\nGenerate Web Apps\\n\\nMade something awesome? Share it with others and let them play with it immediately!\\n\\nCopyright 2024 Google LLC. Code licensed under Apache License 2.0\"}"
}
}
],
"edges": [
{
"from": "input",
"out": "text",
"to": "promptTemplate-edab9017",
"in": "url"
},
{
"from": "promptTemplate-edab9017",
"to": "output",
"out": "prompt",
"in": "text"
}
]
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@
"id": "urlTemplate-77553e6f",
"type": "urlTemplate",
"configuration": {
"template": "https://app.scrapingbee.com/api/v1/store/google?api_key={SCRAPING_BEE_KEY}&search={search}&language=en"
"template": "https://app.scrapingbee.com/api/v1/store/google?api_key={SCRAPING_BEE_KEY}&search={search}&language=en&nb_results=30"
},
"metadata": {
"visual": {
Expand Down

0 comments on commit 7102bfc

Please sign in to comment.