Skip to content

Commit

Permalink
Merge pull request #289 from openai/logankilpatrick-patch-1
Browse files Browse the repository at this point in the history
Update README.md to add supported functions
  • Loading branch information
logankilpatrick authored Sep 6, 2023
2 parents b722d3f + 1431597 commit dafdf63
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,7 @@ yarn add openai

## Usage

> [!IMPORTANT]
> Previous versions of this SDK used a `Configuration` class. See the [v3 to v4 migration guide](https://github.com/openai/openai-node/discussions/217).
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.

```js
import OpenAI from 'openai';
Expand All @@ -40,6 +39,9 @@ async function main() {
main();
```

> [!IMPORTANT]
> Previous versions of this SDK used a `Configuration` class. See the [v3 to v4 migration guide](https://github.com/openai/openai-node/discussions/217).
## Streaming Responses

We provide support for streaming responses using Server Sent Events (SSE).
Expand Down

0 comments on commit dafdf63

Please sign in to comment.