Skip to content

Commit

Permalink
pip install openai in docs (#1068)
Browse files Browse the repository at this point in the history
  • Loading branch information
akshayka committed Apr 4, 2024
1 parent 32c3264 commit 7a4c317
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions docs/guides/ai_completion.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,9 @@ marimo using `pip` if you need Copilot.

This feature is currently experimental and is not enabled by default. To enable it:

1. You need add the following to your `~/.marimo.toml`:
1. Install openai: `pip install openai`

2. Add the following to your `~/.marimo.toml`:

```toml
[ai.open_ai]
Expand All @@ -35,7 +37,8 @@ model = "gpt-3.5-turbo"
base_url = "https://api.openai.com"
```

Once enabled, you can use AI completion by pressing `Ctrl/Cmd-Shift-e` in a cell. This will open an input to modify the cell using AI.
Once enabled, you can use AI completion by pressing `Ctrl/Cmd-Shift-e` in a
cell. This will open an input to modify the cell using AI.

<div align="center">
<figure>
Expand Down

0 comments on commit 7a4c317

Please sign in to comment.