Skip to content

Commit

Permalink
Add difference between windows and unix
Browse files Browse the repository at this point in the history
  • Loading branch information
Mauricio_Aguas committed Oct 29, 2024
1 parent 90693cf commit a25cd06
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 2 deletions.
8 changes: 7 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -80,11 +80,17 @@ You can then run your project as follows:
hal9 run chatbot
```

If you customized your template with `--template` make sure to set the correct key, for example, if you are using the OpenAI template use:
If you customized your template with `--template` make sure to set the correct key, for example, if you are using the OpenAI template use for Linux or macOS:

```bash
export OPENAI_KEY=YOUR_OPENAI_KEY.
```
For Windows use:

```bash
set OPENAI_KEY=YOUR_OPENAI_KEY.
```

For more information on obtaining and using your OpenAI API key, please refer to the [OpenAI API Key documentation](https://help.openai.com/en/articles/4936850-where-do-i-find-my-openai-api-key).


Expand Down
7 changes: 6 additions & 1 deletion website/learn/code/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -80,11 +80,16 @@ You can then run your project as follows:
hal9 run chatbot
```

If you customized your template with `--template` make sure to set the correct key, for example, if you are using the OpenAI template use:
If you customized your template with `--template` make sure to set the correct key, for example, if you are using the OpenAI emplate use for Linux or macOS:

```bash
export OPENAI_KEY=YOUR_OPENAI_KEY.
```
For Windows use:

```bash
set OPENAI_KEY=YOUR_OPENAI_KEY.
```
For more information on obtaining and using your OpenAI API key, please refer to the [OpenAI API Key documentation](https://help.openai.com/en/articles/4936850-where-do-i-find-my-openai-api-key).


Expand Down

0 comments on commit a25cd06

Please sign in to comment.