Skip to content

Commit

Permalink
remove config.json-related information (jupyterlab#503)
Browse files Browse the repository at this point in the history
  • Loading branch information
andrii-i authored Dec 5, 2023
1 parent 9c69a7b commit 102a85a
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions docs/source/users/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -163,20 +163,6 @@ For example, to use OpenAI models, use the chat interface settings panel to choo

Then, enter your API key in the 'API Keys' section.

Alternatively, to set the API key through a config file, first determine your data directory path by running the following command in your terminal:

```bash
echo "$(jupyter --data-dir)/jupyter_ai/config.json"
```

Then, add your API key to `config.json`:

```json
"api_keys": {
"OPENAI_API_KEY": "your-api-key-here"
}
```

:::{attention}
:name: open-ai-cost
Model providers may charge users for API usage. Jupyter AI users are
Expand Down

0 comments on commit 102a85a

Please sign in to comment.