You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: README.md
+43-7
Original file line number
Diff line number
Diff line change
@@ -6,14 +6,9 @@ pre-defined set of classes for API resources that initialize
6
6
themselves dynamically from API responses which makes it compatible
7
7
with a wide range of versions of the OpenAI API.
8
8
9
-
This library additionally provides an `openai` command-line utility
10
-
which makes it easy to interact with the API from your terminal. Run
11
-
`openai api -h` for usage.
12
-
13
9
## Documentation
14
10
15
-
See the [OpenAI API docs](https://beta.openai.com/docs/api-reference?lang=python). (During
16
-
the beta, you'll need to be signed into your account to see them.)
11
+
See the [OpenAI API docs](https://beta.openai.com/docs/api-reference?lang=python).
17
12
18
13
## Installation
19
14
@@ -30,9 +25,50 @@ Install from source with:
30
25
python setup.py install
31
26
```
32
27
28
+
## Usage
29
+
30
+
The library needs to be configured with your account's secret key which is available on the [website](https://beta.openai.com/account/api-keys). Either set it as the `OPENAI_API_KEY` environment variable before using the library:
0 commit comments