Skip to content

Commit

Permalink
Deployed e29cf39 with MkDocs version: 1.5.3
Browse files Browse the repository at this point in the history
  • Loading branch information
Jonathan-Adly committed Apr 17, 2024
1 parent 08ae548 commit b11c9c9
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 10 deletions.
20 changes: 10 additions & 10 deletions examples/function_calling_openai/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -1023,7 +1023,7 @@ <h1>OpenAI</h1>
<!-- End of mermaid configuration --><div class="jupyter-wrapper">
<div class="jp-Notebook" data-jp-theme-light="true" data-jp-theme-name="JupyterLab Light">
<div class="jp-Cell jp-CodeCell jp-Notebook-cell jp-mod-noOutputs">
<div class="jp-Cell jp-CodeCell jp-Notebook-cell jp-mod-noOutputs" id="cell-id=3780f291">
<div class="jp-Cell jp-CodeCell jp-Notebook-cell jp-mod-noOutputs" id="cell-id=e922a826">
<div class="jp-Cell-inputWrapper" tabindex="0">
<div class="jp-Collapser jp-InputCollapser jp-Cell-inputCollapser">
</div>
Expand Down Expand Up @@ -1052,7 +1052,7 @@ <h1>OpenAI</h1>
</div>
</div>
</div><div class="jp-Cell jp-CodeCell jp-Notebook-cell jp-mod-noOutputs">
<div class="jp-Cell jp-CodeCell jp-Notebook-cell jp-mod-noOutputs" id="cell-id=d188e003">
<div class="jp-Cell jp-CodeCell jp-Notebook-cell jp-mod-noOutputs" id="cell-id=3a640dc8">
<div class="jp-Cell-inputWrapper" tabindex="0">
<div class="jp-Collapser jp-InputCollapser jp-Cell-inputCollapser">
</div>
Expand Down Expand Up @@ -1081,7 +1081,7 @@ <h1>OpenAI</h1>
</div>
</div>
</div><div class="jp-Cell jp-CodeCell jp-Notebook-cell jp-mod-noOutputs">
<div class="jp-Cell jp-CodeCell jp-Notebook-cell jp-mod-noOutputs" id="cell-id=8a23d1a1">
<div class="jp-Cell jp-CodeCell jp-Notebook-cell jp-mod-noOutputs" id="cell-id=8af53bc1">
<div class="jp-Cell-inputWrapper" tabindex="0">
<div class="jp-Collapser jp-InputCollapser jp-Cell-inputCollapser">
</div>
Expand Down Expand Up @@ -1114,7 +1114,7 @@ <h1>OpenAI</h1>
</div>
</div>
</div><div class="jp-Cell jp-CodeCell jp-Notebook-cell jp-mod-noOutputs">
<div class="jp-Cell jp-CodeCell jp-Notebook-cell jp-mod-noOutputs" id="cell-id=e31afd50">
<div class="jp-Cell jp-CodeCell jp-Notebook-cell jp-mod-noOutputs" id="cell-id=e47d76c4">
<div class="jp-Cell-inputWrapper" tabindex="0">
<div class="jp-Collapser jp-InputCollapser jp-Cell-inputCollapser">
</div>
Expand All @@ -1141,7 +1141,7 @@ <h1>OpenAI</h1>
</div>
</div>
</div><div class="jp-Cell jp-CodeCell jp-Notebook-cell jp-mod-noOutputs">
<div class="jp-Cell jp-CodeCell jp-Notebook-cell jp-mod-noOutputs" id="cell-id=cad28921">
<div class="jp-Cell jp-CodeCell jp-Notebook-cell jp-mod-noOutputs" id="cell-id=e1971a15">
<div class="jp-Cell-inputWrapper" tabindex="0">
<div class="jp-Collapser jp-InputCollapser jp-Cell-inputCollapser">
</div>
Expand Down Expand Up @@ -1170,7 +1170,7 @@ <h1>OpenAI</h1>
</div>
</div>
</div><div class="jp-Cell jp-CodeCell jp-Notebook-cell jp-mod-noOutputs">
<div class="jp-Cell jp-CodeCell jp-Notebook-cell jp-mod-noOutputs" id="cell-id=bc0df5fb">
<div class="jp-Cell jp-CodeCell jp-Notebook-cell jp-mod-noOutputs" id="cell-id=024a4e18">
<div class="jp-Cell-inputWrapper" tabindex="0">
<div class="jp-Collapser jp-InputCollapser jp-Cell-inputCollapser">
</div>
Expand All @@ -1197,7 +1197,7 @@ <h1>OpenAI</h1>
</div>
</div>
</div><div class="jp-Cell jp-CodeCell jp-Notebook-cell jp-mod-noOutputs">
<div class="jp-Cell jp-CodeCell jp-Notebook-cell jp-mod-noOutputs" id="cell-id=c40f7789">
<div class="jp-Cell jp-CodeCell jp-Notebook-cell jp-mod-noOutputs" id="cell-id=e7797f07">
<div class="jp-Cell-inputWrapper" tabindex="0">
<div class="jp-Collapser jp-InputCollapser jp-Cell-inputCollapser">
</div>
Expand Down Expand Up @@ -1260,7 +1260,7 @@ <h1>OpenAI</h1>
</div>
</div>
</div><div class="jp-Cell jp-CodeCell jp-Notebook-cell jp-mod-noOutputs">
<div class="jp-Cell jp-CodeCell jp-Notebook-cell jp-mod-noOutputs" id="cell-id=08068d21">
<div class="jp-Cell jp-CodeCell jp-Notebook-cell jp-mod-noOutputs" id="cell-id=36385c5a">
<div class="jp-Cell-inputWrapper" tabindex="0">
<div class="jp-Collapser jp-InputCollapser jp-Cell-inputCollapser">
</div>
Expand Down Expand Up @@ -1311,7 +1311,7 @@ <h1>OpenAI</h1>
</div>
</div>
</div><div class="jp-Cell jp-CodeCell jp-Notebook-cell jp-mod-noOutputs">
<div class="jp-Cell jp-CodeCell jp-Notebook-cell jp-mod-noOutputs" id="cell-id=e52f60b5">
<div class="jp-Cell jp-CodeCell jp-Notebook-cell jp-mod-noOutputs" id="cell-id=ed4ca780">
<div class="jp-Cell-inputWrapper" tabindex="0">
<div class="jp-Collapser jp-InputCollapser jp-Cell-inputCollapser">
</div>
Expand Down Expand Up @@ -1402,7 +1402,7 @@ <h1>OpenAI</h1>
</div>
</div>
</div><div class="jp-Cell jp-CodeCell jp-Notebook-cell jp-mod-noOutputs">
<div class="jp-Cell jp-CodeCell jp-Notebook-cell jp-mod-noOutputs" id="cell-id=d6485d8c">
<div class="jp-Cell jp-CodeCell jp-Notebook-cell jp-mod-noOutputs" id="cell-id=cfa711c1">
<div class="jp-Cell-inputWrapper" tabindex="0">
<div class="jp-Collapser jp-InputCollapser jp-Cell-inputCollapser">
</div>
Expand Down
11 changes: 11 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -692,11 +692,22 @@
<h1 id="agentrun-run-ai-generated-code-safely">AgentRun: Run AI Generated Code Safely</h1>
<p><a href="https://pypi.org/project/agentrun/"><img alt="PyPI" src="https://img.shields.io/pypi/v/agentrun.svg" /></a>
<a href="https://github.com/jonathan-adly/agentrun/actions/workflows/test.yml"><img alt="Tests" src="https://github.com/jonathan-adly/agentrun/actions/workflows/test.yml/badge.svg" /></a>
<img alt="Codecov" src="https://img.shields.io/codecov/c/github/jonathan-adly/AgentRun" />
<a href="https://github.com/jonathan-adly/agentrun/releases"><img alt="Changelog" src="https://img.shields.io/github/v/release/jonathan-adly/agentrun?include_prereleases&amp;label=changelog" /></a>
<img alt="PyPI - Downloads" src="https://img.shields.io/pypi/dm/agentrun" />
<a href="https://github.com/jonathan-adly/agentrun/blob/main/LICENSE"><img alt="License" src="https://img.shields.io/badge/license-Apache%202.0-blue.svg" /></a>
<a href="https://jonathan-adly.github.io/agentrun-docs/"><img alt="MkDocs" src="https://img.shields.io/badge/MkDocs-526CFE?logo=materialformkdocs&amp;logoColor=fff" /></a>
<a href="https://twitter.com/Jonathan_Adly_"><img alt="Twitter Follow" src="https://img.shields.io/twitter/follow/Jonathan_Adly_?style=social" /></a></p>
<p>AgentRun is a Python library that makes it easy to run Python code safely from large language models (LLMs) with a single line of code. Built on top of the Docker Python SDK and RestrictedPython, it provides a simple, transparent, and user-friendly API to manage isolated code execution.</p>
<p>AgentRun automatically installs and uninstalls dependencies with optional caching, limits resource consumption, checks code safety, and sets execution timeouts. It has 97% test coverage with full static typing and only two dependencies.</p>
<ul>
<li>
<p><a href="https://jonathan-adly.github.io/agentrun-docs/">Documentation</a></p>
</li>
<li>
<p><a href="#getting-started">Get started in minutes</a></p>
</li>
</ul>
<h2 id="why">Why?</h2>
<p>Giving code execution ability to LLMs is a massive upgrade. Consider the following user query: <code>what is 12345 * 54321?</code> or even something more ambitious like <code>what is the average daily move of Apple stock during the last week?</code>? With code execution it is possible for LLMs to answer both accurately by executing code.</p>
<p>However, executing untrusted code is dangerous and full of potential footguns. For instance, without proper safeguards, an LLM might generate harmful code like this:</p>
Expand Down
Binary file modified sitemap.xml.gz
Binary file not shown.

0 comments on commit b11c9c9

Please sign in to comment.