Skip to content

Commit

Permalink
Fix Limited models for creating Assistants #100
Browse files Browse the repository at this point in the history
  • Loading branch information
redevrx committed Mar 6, 2024
1 parent 8dcfe87 commit 896d462
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 3 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -219,4 +219,9 @@
## 3.0.3
- Fix bugs
- Update Demo App

## 3.0.4
- Fix bugs
- Update Assistant Model
- Add Support Tools to Json

2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ supervised and reinforcement learning techniques.

## Install Package
```dart
chat_gpt_sdk: 3.0.3
chat_gpt_sdk: 3.0.4
```

## Create OpenAI Instance
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: "3.0.3"
version: "3.0.4"
clock:
dependency: transitive
description:
Expand Down
8 changes: 8 additions & 0 deletions lib/src/model/assistant/enum/assistant_model.dart
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,14 @@ class GptTurbo1106AModel extends AssistantModel {
GptTurbo1106AModel() : super(model: kChatGptTurbo1106);
}

class GptTurboModel extends AssistantModel {
GptTurboModel() : super(model: kChatGptTurboModel);
}

class Gpt41106PreviewAModel extends AssistantModel {
Gpt41106PreviewAModel() : super(model: kGpt41106Preview);
}

class AssistantModelFromValue extends AssistantModel {
AssistantModelFromValue({required super.model});
}
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: 3.0.3
version: 3.0.4
homepage: https://www.facebook.com/REDEVRX
repository: https://github.com/redevRx/Flutter-ChatGPT

Expand Down

0 comments on commit 896d462

Please sign in to comment.