Skip to content

Commit

Permalink
chore: Add notes on API Key setup
Browse files Browse the repository at this point in the history
  • Loading branch information
leoshimo committed Aug 29, 2023
1 parent ed6fc9f commit b505c59
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,16 @@ $ cargo install cogni
$ cargo install --path .
```

## Setup

`cogni` expects an OpenAI API Key to be supplied via `--apikey` option or more
conveniently `OPENAI_API_KEY` environment variable:

```sh
# in shell configuration
export OPENAI_API_KEY=sk-DEADBEEF
```

---

## Tour of cogni
Expand Down

0 comments on commit b505c59

Please sign in to comment.