Skip to content

Commit

Permalink
[ Add ] Release 1.8.3
Browse files Browse the repository at this point in the history
  • Loading branch information
anasfik committed Mar 21, 2023
1 parent 72c3c50 commit f8289d2
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 5 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
# 1.8.3

- Fixed web issue for chat streams
- Exposed the base url to be changed externally

# 1.8.0

- Added the Audio APIs including creating transcription and translation.
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ Retrieves a single model by its id and gets additional pieces of information abo
print(model.id)
```

If the model id does not exists, a `RequestFailedException` will be thrown, check [Error Handling](#error-handling) section.
If the model id does not exist, a `RequestFailedException` will be thrown, check [Error Handling](#error-handling) section.

[Learn More From Here.](https://platform.openai.com/docs/api-reference/models)

Expand Down
5 changes: 2 additions & 3 deletions example/lib/completion_stream.dart
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,8 @@ void main() {
Stream<OpenAIStreamCompletionModel> stream =
OpenAI.instance.completion.createStream(
model: "text-davinci-003",
prompt: 'Flutter is ',
maxTokens: 20,
temperature: 0.8,
n: 1,
prompt: [" "],
);

// listen to the stream and print the text.
Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: dart_openai
description: Dart SDK for openAI Apis (GPT-3 & DALL-E), integrate easily the power of OpenAI's state-of-the-art AI models into their Dart applications.
version: 1.8.0
version: 1.8.3
homepage: https://github.com/anasfik/openai
repository: https://github.com/anasfik/openai
documentation: https://github.com/anasfik/openai/blob/main/README.md
Expand Down

0 comments on commit f8289d2

Please sign in to comment.