Skip to content

armgit / burr

Public Imported from GitHub
0

Build applications that make decisions (chatbots, agents, simulations, etc...). Monitor, trace, persist, and execute on your own infrastructure.

Update parallelism example readme

Stefan Krawczykbb74ac910e16
diff --git a/examples/parallelism/README.md b/examples/parallelism/README.md
index d7f71528..974e0b99 100644
--- a/examples/parallelism/README.md
+++ b/examples/parallelism/README.md
@@ -1,9 +1,9 @@
# Parallelism
-In this example we go over Burr's parallelism capabilities. It is based on the documentation (https://burr.dagworks.io/pull/370/concepts/parallelism/), demonstrating the `MapStates` capabilities.
+In this example we go over Burr's parallelism capabilities. It is based on the documentation (https://burr.dagworks.io/concepts/parallelism/), demonstrating the `MapStates` capabilities.
See [the notebook](./notebook.ipynb) for the full example. Or <a target="_blank" href="https://colab.research.google.com/github/dagworks-inc/burr/blob/main/examples/parallelism/notebook.ipynb">
<img src="https://colab.research.google.com/assets/colab-badge.svg" alt="Open In Colab"/>
</a>
-You can follow along with this [Loom video](https://www.loom.com/share/a871abe84f974a499d7fb5bae42c35ae)
+You can follow along with this [youtube video](https://youtu.be/G7lw63IBSmY)
diff --git a/examples/parallelism/notebook.ipynb b/examples/parallelism/notebook.ipynb
index 9a45c59e..ff9568ba 100644
--- a/examples/parallelism/notebook.ipynb
+++ b/examples/parallelism/notebook.ipynb
@@ -8,7 +8,9 @@
"<a target=\"_blank\" href=\"https://colab.research.google.com/github/dagworks-inc/burr/blob/main/examples/parallelism/notebook.ipynb\">\n",
" <img src=\"https://colab.research.google.com/assets/colab-badge.svg\" alt=\"Open In Colab\"/>\n",
"</a> \n",
- "or <a target=\"_blank\" href=\"https://www.github.com/dagworks-inc/burr/tree/main/examples/parallelism/notebook.ipynb\">view source</a>"
+ "or <a target=\"_blank\" href=\"https://www.github.com/dagworks-inc/burr/tree/main/examples/parallelism/notebook.ipynb\">view source</a>\n",
+ "\n",
+ "For a video walkthrough of this notebook <a href=\"https://youtu.be/G7lw63IBSmY\">click here</a>."
]
},
{
@@ -128,10 +130,20 @@
"source": [
"# if in google collab we need to expose the port\n",
"from google.colab import output\n",
- "# output.serve_kernel_port_as_iframe(7241) # can expose as an iframe directly\n",
"output.serve_kernel_port_as_window(7241) # can expose as a new tab -- take note of the URL and provide it below."
]
},
+ {
+ "cell_type": "code",
+ "execution_count": null,
+ "id": "f3e74f3e-db80-436c-ac67-10078e7965de",
+ "metadata": {},
+ "outputs": [],
+ "source": [
+ "# can expose as an iframe directly\n",
+ "output.serve_kernel_port_as_iframe(7241) "
+ ]
+ },
{
"cell_type": "code",
"execution_count": 79,