Skip to content

Commit

Permalink
update 2.2.5 release
Browse files Browse the repository at this point in the history
  • Loading branch information
redevrx committed Sep 17, 2023
1 parent a6ff0f8 commit 54a8472
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ supervised and reinforcement learning techniques.

## Install Package
```dart
chat_gpt_sdk: 2.2.4
chat_gpt_sdk: 2.2.5
```

## Create OpenAI Instance
Expand Down Expand Up @@ -530,22 +530,22 @@ void embedding() async {
- Create Fine Tune
```dart
void createTineTune() async {
final request = CreateFineTune(trainingFile: 'The ID of an uploaded file');
final response = await openAI.fineTune.create(request);
final request = CreateFineTuneJob(trainingFile: 'The ID of an uploaded file');
final response = await openAI.fineTune.createFineTuneJob(request);
}
```

- Fine Tune List
```dart
void tineTuneList() async {
final response = await openAI.fineTune.list();
final response = await openAI.fineTune.listFineTuneJob();
}
```

- Fine Tune List Stream (SSE)
```dart
void tineTuneListStream() {
openAI.fineTune.listStream('fineTuneId').listen((it) {
openAI.fineTune.listFineTuneJobStream('fineTuneId').listen((it) {
///handled data
});
}
Expand All @@ -554,7 +554,7 @@ void createTineTune() async {
- Fine Tune Get by Id
```dart
void tineTuneById() async {
final response = await openAI.fineTune.retrieve('fineTuneId');
final response = await openAI.fineTune.retrieveFineTuneJob('fineTuneId');
}
```

Expand Down
2 changes: 1 addition & 1 deletion example/pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ packages:
path: ".."
relative: true
source: path
version: "2.2.4"
version: "2.2.5"
clock:
dependency: transitive
description:
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: chat_gpt_sdk
description: create chat bot and other bot with ChatGPT SDK Support GPT-4 , 3.5 and SSE Generate Prompt (Stream)
version: 2.2.4
version: 2.2.5
homepage: https://www.facebook.com/REDEVRX
repository: https://github.com/redevRx/Flutter-ChatGPT

Expand Down

0 comments on commit 54a8472

Please sign in to comment.