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
+4-2Lines changed: 4 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -18,8 +18,7 @@ yarn add openai
18
18
19
19
## Usage
20
20
21
-
> [!IMPORTANT]
22
-
> Previous versions of this SDK used a `Configuration` class. See the [v3 to v4 migration guide](https://github.com/openai/openai-node/discussions/217).
21
+
The full API of this library can be found in [api.md file](https://github.com/openai/openai-node/blob/master/api.md). The code below shows how to get started using the chat completions API.
23
22
24
23
```js
25
24
importOpenAIfrom'openai';
@@ -90,6 +89,9 @@ main();
90
89
91
90
Documentation for each method, request param, and response field are available in docstrings and will appear on hover in most modern editors.
92
91
92
+
> [!IMPORTANT]
93
+
> Previous versions of this SDK used a `Configuration` class. See the [v3 to v4 migration guide](https://github.com/openai/openai-node/discussions/217).
94
+
93
95
## File Uploads
94
96
95
97
Request parameters that correspond to file uploads can be passed in many different forms:
0 commit comments