Skip to content

Commit

Permalink
deploy: d252d9e
Browse files Browse the repository at this point in the history
  • Loading branch information
lostmygithubaccount committed Mar 5, 2024
1 parent 2aa8b19 commit 301a6a3
Show file tree
Hide file tree
Showing 9 changed files with 659 additions and 437 deletions.
24 changes: 11 additions & 13 deletions concepts/attachments.html
Original file line number Diff line number Diff line change
Expand Up @@ -298,15 +298,15 @@ <h1 class="title">Attachments</h1>
<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>
<section id="usage" class="level2">
<h2 class="anchored" data-anchor-id="usage">Usage</h2>
<div id="15003ae9" class="cell" data-execution_count="1">
<div id="77a9f256" class="cell" data-execution_count="1">
<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>
<span id="cb1-2"><a href="#cb1-2" aria-hidden="true" tabindex="-1"></a></span>
<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>
<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>
<div class="cell-output cell-output-display" data-execution_count="1">
<pre><code>Attachment
**guid**: c339eed1-225e-4c1a-a7d4-2b99546ef07a
**time**: 2024-03-05 15:11:04.784220
**guid**: aefa7dd8-1504-466e-afa8-fa0053ef087e
**time**: 2024-03-05 11:22:38.343515
**name**: None
**desc**: None</code></pre>
</div>
Expand All @@ -315,7 +315,7 @@ <h2 class="anchored" data-anchor-id="usage">Usage</h2>
<section id="tableattachment" class="level2">
<h2 class="anchored" data-anchor-id="tableattachment">TableAttachment</h2>
<p>A <code>TableAttachment</code> contains an Ibis table:</p>
<div id="b8280f28" class="cell" data-execution_count="2">
<div id="9a87d9f6" class="cell" data-execution_count="2">
<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>
<span id="cb3-2"><a href="#cb3-2" aria-hidden="true" tabindex="-1"></a></span>
<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>
Expand All @@ -327,19 +327,17 @@ <h2 class="anchored" data-anchor-id="tableattachment">TableAttachment</h2>
<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>
<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>
<div class="cell-output cell-output-stderr">
<pre><code>INFO:pins.cache:cache file: /home/runner/.cache/pins-py/gcs_332a30997e141da0e08f15fbfae8b3c3ec90463922d117a96fa3b1bef85a2a4c/penguins/20230905T090411Z-9aae2/data.txt
INFO:pins.cache:cache file: /home/runner/.cache/pins-py/gcs_332a30997e141da0e08f15fbfae8b3c3ec90463922d117a96fa3b1bef85a2a4c/penguins/20230905T090411Z-9aae2/data.txt
INFO:pins.cache:cache file: /home/runner/.cache/pins-py/gcs_332a30997e141da0e08f15fbfae8b3c3ec90463922d117a96fa3b1bef85a2a4c/penguins/20230905T090411Z-9aae2/penguins.csv.gz
INFO:pins.cache:cache file: /home/runner/.cache/pins-py/gcs_332a30997e141da0e08f15fbfae8b3c3ec90463922d117a96fa3b1bef85a2a4c/penguins/20230905T090411Z-9aae2/penguins.csv.gz</code></pre>
<pre><code>INFO:pins.cache:cache file: /Users/cody/Library/Caches/pins-py/gcs_332a30997e141da0e08f15fbfae8b3c3ec90463922d117a96fa3b1bef85a2a4c/penguins/20230905T090411Z-9aae2/data.txt
INFO:pins.cache:cache file: /Users/cody/Library/Caches/pins-py/gcs_332a30997e141da0e08f15fbfae8b3c3ec90463922d117a96fa3b1bef85a2a4c/penguins/20230905T090411Z-9aae2/penguins.csv.gz</code></pre>
</div>
<div class="cell-output cell-output-display">
<pre style="white-space:pre;overflow-x:auto;line-height:normal;font-family:Menlo,'DejaVu Sans Mono',consolas,'Courier New',monospace"></pre>
</div>
<div class="cell-output cell-output-display" data-execution_count="2">
<div class="ansi-escaped-output">
<pre>TableAttachment
**guid**: 3850c2bb-2887-4a4d-a4cd-fa87e331e3fa
**time**: 2024-03-05 15:11:05.521195
**guid**: 5992ed9a-8a14-46c6-9da8-afdb3644a23d
**time**: 2024-03-05 11:22:40.051587
**name**: penguins
**desc**:
ibis.Schema {
Expand Down Expand Up @@ -378,15 +376,15 @@ <h2 class="anchored" data-anchor-id="tableattachment">TableAttachment</h2>
<section id="codeattachment" class="level2">
<h2 class="anchored" data-anchor-id="codeattachment">CodeAttachment</h2>
<p>A <code>CodeAttachment</code> contains code – typically Python or SQL:</p>
<div id="179f60a0" class="cell" data-execution_count="3">
<div id="89ecfbf6" class="cell" data-execution_count="3">
<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>
<span id="cb5-2"><a href="#cb5-2" aria-hidden="true" tabindex="-1"></a></span>
<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>
<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>
<div class="cell-output cell-output-display" data-execution_count="3">
<pre><code>CodeAttachment
**guid**: 0e1d88eb-37dc-44cf-9468-0f8e25df733e
**time**: 2024-03-05 15:11:05.566415
**guid**: 8138742b-dcef-4735-b452-8481468e12da
**time**: 2024-03-05 11:22:40.087917
**name**: None
**desc**: None
**language**: sql
Expand Down
2 changes: 1 addition & 1 deletion concepts/bots.html
Original file line number Diff line number Diff line change
Expand Up @@ -293,7 +293,7 @@ <h1 class="title">Bots</h1>
<p>Ibis Birdbrain implements a <code>Bot</code> calss that can be used to instantiate one or more bots that automate various tasks.</p>
<section id="usage" class="level2">
<h2 class="anchored" data-anchor-id="usage">Usage</h2>
<div id="1b365c54" class="cell" data-execution_count="1">
<div id="a5d8d0d4" class="cell" data-execution_count="1">
<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>
<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>
<div class="cell-output cell-output-display" data-execution_count="1">
Expand Down
4 changes: 2 additions & 2 deletions concepts/flows.html
Original file line number Diff line number Diff line change
Expand Up @@ -294,13 +294,13 @@ <h1 class="title">Flows</h1>
<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>
<section id="usage" class="level2">
<h2 class="anchored" data-anchor-id="usage">Usage</h2>
<div id="7079b8bc" class="cell" data-execution_count="1">
<div id="254b2753" class="cell" data-execution_count="1">
<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>
<span id="cb1-2"><a href="#cb1-2" aria-hidden="true" tabindex="-1"></a></span>
<span id="cb1-3"><a href="#cb1-3" aria-hidden="true" tabindex="-1"></a>flow <span class="op">=</span> Flow()</span>
<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>
<div class="cell-output cell-output-display" data-execution_count="1">
<pre><code>&lt;ibis_birdbrain.flows.Flow at 0x7f829634f4d0&gt;</code></pre>
<pre><code>&lt;ibis_birdbrain.flows.Flow at 0x1090f15d0&gt;</code></pre>
</div>
</div>

Expand Down
14 changes: 7 additions & 7 deletions concepts/messages.html
Original file line number Diff line number Diff line change
Expand Up @@ -294,20 +294,20 @@ <h1 class="title">Messages</h1>
<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>
<section id="usage" class="level2">
<h2 class="anchored" data-anchor-id="usage">Usage</h2>
<div id="5e5d2fac" class="cell" data-execution_count="1">
<div id="9c0146d7" class="cell" data-execution_count="1">
<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>
<span id="cb1-2"><a href="#cb1-2" aria-hidden="true" tabindex="-1"></a></span>
<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>
<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>
<div class="cell-output cell-output-display" data-execution_count="1">
<pre><code>Message(d6d2c9ed-4602-4632-9bc9-9490b2fa2623)</code></pre>
<pre><code>Message(5956d627-9038-4bb4-b827-1d9ed646c75e)</code></pre>
</div>
</div>
</section>
<section id="emails" class="level2">
<h2 class="anchored" data-anchor-id="emails">Emails</h2>
<p>Currently, the only implementation of <code>Message</code> that is viewable as a proper string is <code>Email</code>.</p>
<div id="f5fbfea5" class="cell" data-execution_count="2">
<div id="2e43c663" class="cell" data-execution_count="2">
<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>
<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>
<span id="cb3-3"><a href="#cb3-3" aria-hidden="true" tabindex="-1"></a></span>
Expand All @@ -317,8 +317,8 @@ <h2 class="anchored" data-anchor-id="emails">Emails</h2>
<pre><code>To:
From:
Subject:
Sent at: 2024-03-05 15:11:09.502653
Message: 209359f3-63dd-43e2-894d-1d808cb83b40
Sent at: 2024-03-05 11:22:52.258182
Message: e855820a-eedd-4229-96d1-7ae525800995

Hello

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

, world!

Expand Down
4 changes: 2 additions & 2 deletions concepts/tasks.html
Original file line number Diff line number Diff line change
Expand Up @@ -293,13 +293,13 @@ <h1 class="title">Tasks</h1>
<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>
<section id="usage" class="level2">
<h2 class="anchored" data-anchor-id="usage">Usage</h2>
<div id="98b38b60" class="cell" data-execution_count="1">
<div id="ef7b5518" class="cell" data-execution_count="1">
<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>
<span id="cb1-2"><a href="#cb1-2" aria-hidden="true" tabindex="-1"></a></span>
<span id="cb1-3"><a href="#cb1-3" aria-hidden="true" tabindex="-1"></a>task <span class="op">=</span> Task()</span>
<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>
<div class="cell-output cell-output-display" data-execution_count="1">
<pre><code>&lt;ibis_birdbrain.tasks.Task at 0x7fb61c371e50&gt;</code></pre>
<pre><code>&lt;ibis_birdbrain.tasks.Task at 0x14264fa90&gt;</code></pre>
</div>
</div>

Expand Down
10 changes: 5 additions & 5 deletions posts.html
Original file line number Diff line number Diff line change
Expand Up @@ -263,7 +263,7 @@ <h1 class="title">Posts</h1>
</div>
</div>
<div class="list grid quarto-listing-cols-3">
<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">
<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">
<a href="./posts/llms-and-data-pt4/index.html" class="quarto-grid-link">
<div class="quarto-grid-item card h-100 card-left">
<p class="card-img-top"><img src="posts/llms-and-data-pt4/images/figure1.png" style="height: 150px;" class="thumbnail-image card-img"/></p>
Expand Down Expand Up @@ -291,7 +291,7 @@ <h5 class="no-anchor card-title listing-title">
</div>
</a>
</div>
<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">
<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">
<a href="./posts/llms-and-data-pt3/index.html" class="quarto-grid-link">
<div class="quarto-grid-item card h-100 card-left">
<p class="card-img-top"><img src="images/logo.png" style="height: 150px;" class="thumbnail-image card-img"/></p>
Expand Down Expand Up @@ -319,7 +319,7 @@ <h5 class="no-anchor card-title listing-title">
</div>
</a>
</div>
<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">
<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">
<a href="./posts/llms-and-data-pt2/index.html" class="quarto-grid-link">
<div class="quarto-grid-item card h-100 card-left">
<p class="card-img-top"><img src="images/logo.png" style="height: 150px;" class="thumbnail-image card-img"/></p>
Expand Down Expand Up @@ -347,7 +347,7 @@ <h5 class="no-anchor card-title listing-title">
</div>
</a>
</div>
<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">
<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">
<a href="./posts/llms-and-data-pt1/index.html" class="quarto-grid-link">
<div class="quarto-grid-item card h-100 card-left">
<p class="card-img-top"><img src="images/logo.png" style="height: 150px;" class="thumbnail-image card-img"/></p>
Expand Down Expand Up @@ -375,7 +375,7 @@ <h5 class="no-anchor card-title listing-title">
</div>
</a>
</div>
<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">
<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">
<a href="./posts/llms-and-data-pt0/index.html" class="quarto-grid-link">
<div class="quarto-grid-item card h-100 card-left">
<p class="card-img-top"><img src="images/logo.png" style="height: 150px;" class="thumbnail-image card-img"/></p>
Expand Down
Loading

0 comments on commit 301a6a3

Please sign in to comment.