Skip to content

Commit 301a6a3

Browse files
deploy: d252d9e
1 parent 2aa8b19 commit 301a6a3

9 files changed

+659
-437
lines changed

concepts/attachments.html

+11-13
Original file line numberDiff line numberDiff line change
@@ -298,15 +298,15 @@ <h1 class="title">Attachments</h1>
298298
<p>Ibis Birdbrain passes Python objects as <code>Attachments</code> to <a href="../concepts/messages.html"><code>Messages</code></a>. This allows the user, itself, and (eventually) other bots to interact with data, code, and more.</p>
299299
<section id="usage" class="level2">
300300
<h2 class="anchored" data-anchor-id="usage">Usage</h2>
301-
<div id="15003ae9" class="cell" data-execution_count="1">
301+
<div id="77a9f256" class="cell" data-execution_count="1">
302302
<div class="sourceCode cell-code" id="cb1"><pre class="sourceCode python code-with-copy"><code class="sourceCode python"><span id="cb1-1"><a href="#cb1-1" aria-hidden="true" tabindex="-1"></a><span class="im">from</span> ibis_birdbrain.attachments <span class="im">import</span> Attachment, Attachments</span>
303303
<span id="cb1-2"><a href="#cb1-2" aria-hidden="true" tabindex="-1"></a></span>
304304
<span id="cb1-3"><a href="#cb1-3" aria-hidden="true" tabindex="-1"></a>a1 <span class="op">=</span> Attachment(content<span class="op">=</span><span class="st">"Hello, world!"</span>)</span>
305305
<span id="cb1-4"><a href="#cb1-4" aria-hidden="true" tabindex="-1"></a>a1</span></code><button title="Copy to Clipboard" class="code-copy-button"><i class="bi"></i></button></pre></div>
306306
<div class="cell-output cell-output-display" data-execution_count="1">
307307
<pre><code>Attachment
308-
**guid**: c339eed1-225e-4c1a-a7d4-2b99546ef07a
309-
**time**: 2024-03-05 15:11:04.784220
308+
**guid**: aefa7dd8-1504-466e-afa8-fa0053ef087e
309+
**time**: 2024-03-05 11:22:38.343515
310310
**name**: None
311311
**desc**: None</code></pre>
312312
</div>
@@ -315,7 +315,7 @@ <h2 class="anchored" data-anchor-id="usage">Usage</h2>
315315
<section id="tableattachment" class="level2">
316316
<h2 class="anchored" data-anchor-id="tableattachment">TableAttachment</h2>
317317
<p>A <code>TableAttachment</code> contains an Ibis table:</p>
318-
<div id="b8280f28" class="cell" data-execution_count="2">
318+
<div id="9a87d9f6" class="cell" data-execution_count="2">
319319
<div class="sourceCode cell-code" id="cb3"><pre class="sourceCode python code-with-copy"><code class="sourceCode python"><span id="cb3-1"><a href="#cb3-1" aria-hidden="true" tabindex="-1"></a><span class="im">import</span> ibis</span>
320320
<span id="cb3-2"><a href="#cb3-2" aria-hidden="true" tabindex="-1"></a></span>
321321
<span id="cb3-3"><a href="#cb3-3" aria-hidden="true" tabindex="-1"></a><span class="im">from</span> ibis_birdbrain.attachments <span class="im">import</span> TableAttachment</span>
@@ -327,19 +327,17 @@ <h2 class="anchored" data-anchor-id="tableattachment">TableAttachment</h2>
327327
<span id="cb3-9"><a href="#cb3-9" aria-hidden="true" tabindex="-1"></a>a2 <span class="op">=</span> TableAttachment(content<span class="op">=</span>t)</span>
328328
<span id="cb3-10"><a href="#cb3-10" aria-hidden="true" tabindex="-1"></a>a2</span></code><button title="Copy to Clipboard" class="code-copy-button"><i class="bi"></i></button></pre></div>
329329
<div class="cell-output cell-output-stderr">
330-
<pre><code>INFO:pins.cache:cache file: /home/runner/.cache/pins-py/gcs_332a30997e141da0e08f15fbfae8b3c3ec90463922d117a96fa3b1bef85a2a4c/penguins/20230905T090411Z-9aae2/data.txt
331-
INFO:pins.cache:cache file: /home/runner/.cache/pins-py/gcs_332a30997e141da0e08f15fbfae8b3c3ec90463922d117a96fa3b1bef85a2a4c/penguins/20230905T090411Z-9aae2/data.txt
332-
INFO:pins.cache:cache file: /home/runner/.cache/pins-py/gcs_332a30997e141da0e08f15fbfae8b3c3ec90463922d117a96fa3b1bef85a2a4c/penguins/20230905T090411Z-9aae2/penguins.csv.gz
333-
INFO:pins.cache:cache file: /home/runner/.cache/pins-py/gcs_332a30997e141da0e08f15fbfae8b3c3ec90463922d117a96fa3b1bef85a2a4c/penguins/20230905T090411Z-9aae2/penguins.csv.gz</code></pre>
330+
<pre><code>INFO:pins.cache:cache file: /Users/cody/Library/Caches/pins-py/gcs_332a30997e141da0e08f15fbfae8b3c3ec90463922d117a96fa3b1bef85a2a4c/penguins/20230905T090411Z-9aae2/data.txt
331+
INFO:pins.cache:cache file: /Users/cody/Library/Caches/pins-py/gcs_332a30997e141da0e08f15fbfae8b3c3ec90463922d117a96fa3b1bef85a2a4c/penguins/20230905T090411Z-9aae2/penguins.csv.gz</code></pre>
334332
</div>
335333
<div class="cell-output cell-output-display">
336334
<pre style="white-space:pre;overflow-x:auto;line-height:normal;font-family:Menlo,'DejaVu Sans Mono',consolas,'Courier New',monospace"></pre>
337335
</div>
338336
<div class="cell-output cell-output-display" data-execution_count="2">
339337
<div class="ansi-escaped-output">
340338
<pre>TableAttachment
341-
**guid**: 3850c2bb-2887-4a4d-a4cd-fa87e331e3fa
342-
**time**: 2024-03-05 15:11:05.521195
339+
**guid**: 5992ed9a-8a14-46c6-9da8-afdb3644a23d
340+
**time**: 2024-03-05 11:22:40.051587
343341
**name**: penguins
344342
**desc**:
345343
ibis.Schema {
@@ -378,15 +376,15 @@ <h2 class="anchored" data-anchor-id="tableattachment">TableAttachment</h2>
378376
<section id="codeattachment" class="level2">
379377
<h2 class="anchored" data-anchor-id="codeattachment">CodeAttachment</h2>
380378
<p>A <code>CodeAttachment</code> contains code – typically Python or SQL:</p>
381-
<div id="179f60a0" class="cell" data-execution_count="3">
379+
<div id="89ecfbf6" class="cell" data-execution_count="3">
382380
<div class="sourceCode cell-code" id="cb5"><pre class="sourceCode python code-with-copy"><code class="sourceCode python"><span id="cb5-1"><a href="#cb5-1" aria-hidden="true" tabindex="-1"></a><span class="im">from</span> ibis_birdbrain.attachments <span class="im">import</span> CodeAttachment</span>
383381
<span id="cb5-2"><a href="#cb5-2" aria-hidden="true" tabindex="-1"></a></span>
384382
<span id="cb5-3"><a href="#cb5-3" aria-hidden="true" tabindex="-1"></a>a3 <span class="op">=</span> CodeAttachment(content<span class="op">=</span><span class="st">"select 1 as id"</span>, language<span class="op">=</span><span class="st">"sql"</span>)</span>
385383
<span id="cb5-4"><a href="#cb5-4" aria-hidden="true" tabindex="-1"></a>a3</span></code><button title="Copy to Clipboard" class="code-copy-button"><i class="bi"></i></button></pre></div>
386384
<div class="cell-output cell-output-display" data-execution_count="3">
387385
<pre><code>CodeAttachment
388-
**guid**: 0e1d88eb-37dc-44cf-9468-0f8e25df733e
389-
**time**: 2024-03-05 15:11:05.566415
386+
**guid**: 8138742b-dcef-4735-b452-8481468e12da
387+
**time**: 2024-03-05 11:22:40.087917
390388
**name**: None
391389
**desc**: None
392390
**language**: sql

concepts/bots.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -293,7 +293,7 @@ <h1 class="title">Bots</h1>
293293
<p>Ibis Birdbrain implements a <code>Bot</code> calss that can be used to instantiate one or more bots that automate various tasks.</p>
294294
<section id="usage" class="level2">
295295
<h2 class="anchored" data-anchor-id="usage">Usage</h2>
296-
<div id="1b365c54" class="cell" data-execution_count="1">
296+
<div id="a5d8d0d4" class="cell" data-execution_count="1">
297297
<div class="sourceCode cell-code" id="cb1"><pre class="sourceCode python code-with-copy"><code class="sourceCode python"><span id="cb1-1"><a href="#cb1-1" aria-hidden="true" tabindex="-1"></a><span class="im">from</span> ibis_birdbrain <span class="im">import</span> Bot</span>
298298
<span id="cb1-2"><a href="#cb1-2" aria-hidden="true" tabindex="-1"></a>Bot</span></code><button title="Copy to Clipboard" class="code-copy-button"><i class="bi"></i></button></pre></div>
299299
<div class="cell-output cell-output-display" data-execution_count="1">

concepts/flows.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -294,13 +294,13 @@ <h1 class="title">Flows</h1>
294294
<p>A Flow takes Messages as input and returns Messages as output. The details of a given Flow are specific to itself, running a series of <a href="../concepts/tasks.html"><code>Tasks</code></a> to accomplish its goal.</p>
295295
<section id="usage" class="level2">
296296
<h2 class="anchored" data-anchor-id="usage">Usage</h2>
297-
<div id="7079b8bc" class="cell" data-execution_count="1">
297+
<div id="254b2753" class="cell" data-execution_count="1">
298298
<div class="sourceCode cell-code" id="cb1"><pre class="sourceCode python code-with-copy"><code class="sourceCode python"><span id="cb1-1"><a href="#cb1-1" aria-hidden="true" tabindex="-1"></a><span class="im">from</span> ibis_birdbrain.flows <span class="im">import</span> Flow, Flows</span>
299299
<span id="cb1-2"><a href="#cb1-2" aria-hidden="true" tabindex="-1"></a></span>
300300
<span id="cb1-3"><a href="#cb1-3" aria-hidden="true" tabindex="-1"></a>flow <span class="op">=</span> Flow()</span>
301301
<span id="cb1-4"><a href="#cb1-4" aria-hidden="true" tabindex="-1"></a>flow</span></code><button title="Copy to Clipboard" class="code-copy-button"><i class="bi"></i></button></pre></div>
302302
<div class="cell-output cell-output-display" data-execution_count="1">
303-
<pre><code>&lt;ibis_birdbrain.flows.Flow at 0x7f829634f4d0&gt;</code></pre>
303+
<pre><code>&lt;ibis_birdbrain.flows.Flow at 0x1090f15d0&gt;</code></pre>
304304
</div>
305305
</div>
306306

concepts/messages.html

+7-7
Original file line numberDiff line numberDiff line change
@@ -294,20 +294,20 @@ <h1 class="title">Messages</h1>
294294
<p>Ibis Birdbrain communicates with the user, itself, and (eventually) other bots through <code>Messages</code>. A <code>Message</code> is a simple wrapper around text with metadata and optional <a href="../concepts/attachments.html"><code>Attachments</code></a>.</p>
295295
<section id="usage" class="level2">
296296
<h2 class="anchored" data-anchor-id="usage">Usage</h2>
297-
<div id="5e5d2fac" class="cell" data-execution_count="1">
297+
<div id="9c0146d7" class="cell" data-execution_count="1">
298298
<div class="sourceCode cell-code" id="cb1"><pre class="sourceCode python code-with-copy"><code class="sourceCode python"><span id="cb1-1"><a href="#cb1-1" aria-hidden="true" tabindex="-1"></a><span class="im">from</span> ibis_birdbrain.messages <span class="im">import</span> Message, Messages, Email</span>
299299
<span id="cb1-2"><a href="#cb1-2" aria-hidden="true" tabindex="-1"></a></span>
300300
<span id="cb1-3"><a href="#cb1-3" aria-hidden="true" tabindex="-1"></a>m1 <span class="op">=</span> Message(<span class="st">"Hello, world!"</span>)</span>
301301
<span id="cb1-4"><a href="#cb1-4" aria-hidden="true" tabindex="-1"></a>m1</span></code><button title="Copy to Clipboard" class="code-copy-button"><i class="bi"></i></button></pre></div>
302302
<div class="cell-output cell-output-display" data-execution_count="1">
303-
<pre><code>Message(d6d2c9ed-4602-4632-9bc9-9490b2fa2623)</code></pre>
303+
<pre><code>Message(5956d627-9038-4bb4-b827-1d9ed646c75e)</code></pre>
304304
</div>
305305
</div>
306306
</section>
307307
<section id="emails" class="level2">
308308
<h2 class="anchored" data-anchor-id="emails">Emails</h2>
309309
<p>Currently, the only implementation of <code>Message</code> that is viewable as a proper string is <code>Email</code>.</p>
310-
<div id="f5fbfea5" class="cell" data-execution_count="2">
310+
<div id="2e43c663" class="cell" data-execution_count="2">
311311
<div class="sourceCode cell-code" id="cb3"><pre class="sourceCode python code-with-copy"><code class="sourceCode python"><span id="cb3-1"><a href="#cb3-1" aria-hidden="true" tabindex="-1"></a>e1 <span class="op">=</span> Email(<span class="st">"Hello"</span>)</span>
312312
<span id="cb3-2"><a href="#cb3-2" aria-hidden="true" tabindex="-1"></a>e2 <span class="op">=</span> Email(<span class="st">", world!"</span>)</span>
313313
<span id="cb3-3"><a href="#cb3-3" aria-hidden="true" tabindex="-1"></a></span>
@@ -317,8 +317,8 @@ <h2 class="anchored" data-anchor-id="emails">Emails</h2>
317317
<pre><code>To:
318318
From:
319319
Subject:
320-
Sent at: 2024-03-05 15:11:09.502653
321-
Message: 209359f3-63dd-43e2-894d-1d808cb83b40
320+
Sent at: 2024-03-05 11:22:52.258182
321+
Message: e855820a-eedd-4229-96d1-7ae525800995
322322

323323
Hello
324324

@@ -329,8 +329,8 @@ <h2 class="anchored" data-anchor-id="emails">Emails</h2>
329329
To:
330330
From:
331331
Subject:
332-
Sent at: 2024-03-05 15:11:09.502705
333-
Message: 71fc783b-4382-425e-ac57-729bc0456c94
332+
Sent at: 2024-03-05 11:22:52.258207
333+
Message: 50a43477-12d3-4138-b5ff-38fd5b2b7704
334334

335335
, world!
336336

concepts/tasks.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -293,13 +293,13 @@ <h1 class="title">Tasks</h1>
293293
<p>Ibis Birdbrain’s <a href="./flow.qmd"><code>Flow</code></a> executes one or more <code>Tasks</code> to accomplish its goal. A <code>Task</code> is a single unit of work that takes a <a href="./message.qmd"><code>Message</code></a> as input and returns a <code>Message</code> as output.</p>
294294
<section id="usage" class="level2">
295295
<h2 class="anchored" data-anchor-id="usage">Usage</h2>
296-
<div id="98b38b60" class="cell" data-execution_count="1">
296+
<div id="ef7b5518" class="cell" data-execution_count="1">
297297
<div class="sourceCode cell-code" id="cb1"><pre class="sourceCode python code-with-copy"><code class="sourceCode python"><span id="cb1-1"><a href="#cb1-1" aria-hidden="true" tabindex="-1"></a><span class="im">from</span> ibis_birdbrain.tasks <span class="im">import</span> Task, Tasks</span>
298298
<span id="cb1-2"><a href="#cb1-2" aria-hidden="true" tabindex="-1"></a></span>
299299
<span id="cb1-3"><a href="#cb1-3" aria-hidden="true" tabindex="-1"></a>task <span class="op">=</span> Task()</span>
300300
<span id="cb1-4"><a href="#cb1-4" aria-hidden="true" tabindex="-1"></a>task</span></code><button title="Copy to Clipboard" class="code-copy-button"><i class="bi"></i></button></pre></div>
301301
<div class="cell-output cell-output-display" data-execution_count="1">
302-
<pre><code>&lt;ibis_birdbrain.tasks.Task at 0x7fb61c371e50&gt;</code></pre>
302+
<pre><code>&lt;ibis_birdbrain.tasks.Task at 0x14264fa90&gt;</code></pre>
303303
</div>
304304
</div>
305305

posts.html

+5-5
Original file line numberDiff line numberDiff line change
@@ -263,7 +263,7 @@ <h1 class="title">Posts</h1>
263263
</div>
264264
</div>
265265
<div class="list grid quarto-listing-cols-3">
266-
<div class="g-col-1" data-index="0" data-categories="LLMs and data" data-listing-date-sort="1697414400000" data-listing-file-modified-sort="1709651258060" data-listing-date-modified-sort="NaN" data-listing-reading-time-sort="3" data-listing-word-count-sort="435">
266+
<div class="g-col-1" data-index="0" data-categories="LLMs and data" data-listing-date-sort="1697414400000" data-listing-file-modified-sort="1709655884341" data-listing-date-modified-sort="NaN" data-listing-reading-time-sort="3" data-listing-word-count-sort="435">
267267
<a href="./posts/llms-and-data-pt4/index.html" class="quarto-grid-link">
268268
<div class="quarto-grid-item card h-100 card-left">
269269
<p class="card-img-top"><img src="posts/llms-and-data-pt4/images/figure1.png" style="height: 150px;" class="thumbnail-image card-img"/></p>
@@ -291,7 +291,7 @@ <h5 class="no-anchor card-title listing-title">
291291
</div>
292292
</a>
293293
</div>
294-
<div class="g-col-1" data-index="1" data-categories="LLMs and data" data-listing-date-sort="1697328000000" data-listing-file-modified-sort="1709651258060" data-listing-date-modified-sort="NaN" data-listing-reading-time-sort="3" data-listing-word-count-sort="444">
294+
<div class="g-col-1" data-index="1" data-categories="LLMs and data" data-listing-date-sort="1697328000000" data-listing-file-modified-sort="1709655884341" data-listing-date-modified-sort="NaN" data-listing-reading-time-sort="3" data-listing-word-count-sort="444">
295295
<a href="./posts/llms-and-data-pt3/index.html" class="quarto-grid-link">
296296
<div class="quarto-grid-item card h-100 card-left">
297297
<p class="card-img-top"><img src="images/logo.png" style="height: 150px;" class="thumbnail-image card-img"/></p>
@@ -319,7 +319,7 @@ <h5 class="no-anchor card-title listing-title">
319319
</div>
320320
</a>
321321
</div>
322-
<div class="g-col-1" data-index="2" data-categories="LLMs and data" data-listing-date-sort="1697241600000" data-listing-file-modified-sort="1709651258060" data-listing-date-modified-sort="NaN" data-listing-reading-time-sort="4" data-listing-word-count-sort="725">
322+
<div class="g-col-1" data-index="2" data-categories="LLMs and data" data-listing-date-sort="1697241600000" data-listing-file-modified-sort="1709655884341" data-listing-date-modified-sort="NaN" data-listing-reading-time-sort="4" data-listing-word-count-sort="725">
323323
<a href="./posts/llms-and-data-pt2/index.html" class="quarto-grid-link">
324324
<div class="quarto-grid-item card h-100 card-left">
325325
<p class="card-img-top"><img src="images/logo.png" style="height: 150px;" class="thumbnail-image card-img"/></p>
@@ -347,7 +347,7 @@ <h5 class="no-anchor card-title listing-title">
347347
</div>
348348
</a>
349349
</div>
350-
<div class="g-col-1" data-index="3" data-categories="LLMs and data" data-listing-date-sort="1697155200000" data-listing-file-modified-sort="1709651258060" data-listing-date-modified-sort="NaN" data-listing-reading-time-sort="7" data-listing-word-count-sort="1298">
350+
<div class="g-col-1" data-index="3" data-categories="LLMs and data" data-listing-date-sort="1697155200000" data-listing-file-modified-sort="1709655884341" data-listing-date-modified-sort="NaN" data-listing-reading-time-sort="7" data-listing-word-count-sort="1298">
351351
<a href="./posts/llms-and-data-pt1/index.html" class="quarto-grid-link">
352352
<div class="quarto-grid-item card h-100 card-left">
353353
<p class="card-img-top"><img src="images/logo.png" style="height: 150px;" class="thumbnail-image card-img"/></p>
@@ -375,7 +375,7 @@ <h5 class="no-anchor card-title listing-title">
375375
</div>
376376
</a>
377377
</div>
378-
<div class="g-col-1" data-index="4" data-categories="LLMs and data" data-listing-date-sort="1697068800000" data-listing-file-modified-sort="1709651258060" data-listing-date-modified-sort="NaN" data-listing-reading-time-sort="5" data-listing-word-count-sort="822">
378+
<div class="g-col-1" data-index="4" data-categories="LLMs and data" data-listing-date-sort="1697068800000" data-listing-file-modified-sort="1709655884341" data-listing-date-modified-sort="NaN" data-listing-reading-time-sort="5" data-listing-word-count-sort="822">
379379
<a href="./posts/llms-and-data-pt0/index.html" class="quarto-grid-link">
380380
<div class="quarto-grid-item card h-100 card-left">
381381
<p class="card-img-top"><img src="images/logo.png" style="height: 150px;" class="thumbnail-image card-img"/></p>

0 commit comments

Comments
 (0)