Fix readme

This commit is contained in:
Dongri Jin
2023-08-04 06:49:53 +09:00
parent 0ab08c8587
commit e2f2317735

View File

@@ -18,9 +18,9 @@ The library needs to be configured with your account's secret key, which is avai
$ export OPENAI_API_KEY=sk-xxxxxxx
```
### Set OPENAI_API_ENDPOINT to environment variable (optional)
### Set OPENAI_API_BASE to environment variable (optional)
```bash
$ export OPENAI_API_ENDPOINT=https://api.openai.com/v1
$ export OPENAI_API_BASE=https://api.openai.com/v1
```
### Create client