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';
@@ -40,6 +39,9 @@ async function main() {
40
39
main();
41
40
```
42
41
42
+
> [!IMPORTANT]
43
+
> Previous versions of this SDK used a `Configuration` class. See the [v3 to v4 migration guide](https://github.com/openai/openai-node/discussions/217).
44
+
43
45
## Streaming Responses
44
46
45
47
We provide support for streaming responses using Server Sent Events (SSE).
0 commit comments