Skip to content

Commit 1011c12

Browse files
author
Dongri Jin
committed
Fix readme
1 parent 079b7f6 commit 1011c12

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,11 @@ The library needs to be configured with your account's secret key, which is avai
1818
$ export OPENAI_API_KEY=sk-xxxxxxx
1919
```
2020

21+
### Set OPENAI_API_ENDPOINT to environment variable (optional)
22+
```bash
23+
$ export OPENAI_API_ENDPOINT=https://api.openai.com/v1
24+
```
25+
2126
### Create client
2227
```rust
2328
use openai_api_rs::v1::api::Client;

0 commit comments

Comments
 (0)