Skip to content

armgit / E2B

Public Imported from GitHub
0

Open-source, secure environment with real-world tools for enterprise-grade agents.

Add links to guides

Vasek Mlejnsky31ea69b8ecc2
diff --git a/apps/docs/src/app/hello-world/js/page.mdx b/apps/docs/src/app/hello-world/js/page.mdx
index 5ee149151..ed3dc8e89 100644
--- a/apps/docs/src/app/hello-world/js/page.mdx
+++ b/apps/docs/src/app/hello-world/js/page.mdx
@@ -11,12 +11,12 @@ This JavaScript guide will show you the basics of E2B:
Check out the [full code in our cookbook](https://github.com/e2b-dev/e2b-cookbook/tree/main/examples/hello-world-js).
### Overview
-1. Install Code Interpreter SDK
-1. Prepare prompt and tools for LLM
-1. Prepare code interpreting
-1. Call LLM and parse response with tools
-1. Create code interpreter and run everything
-1. Save generated chart
+1. [Install Code Interpreter SDK](#1-install-code-interpreter-sdk)
+1. [Prepare prompt and tools for LLM](#2-prepare-prompt-and-tools-for-llm)
+1. [Prepare code interpreting](#3-prepare-code-interpreting)
+1. [Call LLM and parse response with tools](#4-call-llm-and-parse-response-with-tools)
+1. [Create code interpreter and run everything](##5-create-code-interpreter-and-run-everything)
+1. [Save generated chart](#6-save-generated-chart)
## 1. Install Code Interpreter SDK
@@ -239,7 +239,7 @@ We got our median in the logs (`stdout`, and `stderr`) but we also something int
<Figure size 800x400 with 1 Axes>
```
-6. Save generated chart
+## 6. Save generated chart
This looks like a plot. Let's save it to a file. Update the `run()` function like this.
<CodeGroup isFileName title="index.ts" isRunnable={false}>
diff --git a/apps/docs/src/app/hello-world/py/page.mdx b/apps/docs/src/app/hello-world/py/page.mdx
index 8b4508ced..9e06ad28f 100644
--- a/apps/docs/src/app/hello-world/py/page.mdx
+++ b/apps/docs/src/app/hello-world/py/page.mdx
@@ -12,12 +12,12 @@ This Python guide will show you the basics of E2B:
Check out the [full code in our cookbook](https://github.com/e2b-dev/e2b-cookbook/tree/main/examples/hello-world-python).
### Overview
-1. Install Code Interpreter SDK
-1. Prepare the prompt and tools for LLM
-1. Prepare code interpreting
-1. Call LLM and parse the response with tools
-1. Create a code interpreter and run everything
-1. Save generated chart
+1. [Install Code Interpreter SDK](#1-install-code-interpreter-sdk)
+1. [Prepare prompt and tools for LLM](#2-prepare-prompt-and-tools-for-llm)
+1. [Prepare code interpreting](#3-prepare-code-interpreting)
+1. [Call LLM and parse response with tools](#4-call-llm-and-parse-response-with-tools)
+1. [Create code interpreter and run everything](##5-create-code-interpreter-and-run-everything)
+1. [Save generated chart](#6-save-generated-chart)
## 1. Install Code Interpreter SDK
@@ -41,7 +41,7 @@ E2B_API_KEY="e2b-api-key"
</CodeGroup>
-## 2. Prepare the prompt and tools for LLM
+## 2. Prepare prompt and tools for LLM
We'll be using Anthropic's [Claude 3 Opus](https://www.anthropic.com/news/claude-3-family) model but E2B works with any LLM so feel free to pick any you want!
<Note>