chat_gpt_sdk
create chat bot and other bot with ChatGPT SDK Support GPT-4 , 3.5 and SSE Generate Prompt (Stream)
3.1.6
2.9K downloads/mo
#4702 most downloaded on pub.dev
redevRx/Flutter-ChatGPT
What this package is like to depend on
Last release 3 months ago
20 May 2026
Ships unpredictably
gaps range from 9 days to 1.1 years
Most releases are documented
notes for 37 of 52 stable releases
3 versions withdrawn
withdrawn after publishing
4 years old
55 releases · first in 2022
1 release in the last 12 months
see the full history below
Release timeline
55 releases · Dec 2022 to May 2026Releases
latest 55-
3.1.620 May 2026Release notes
Open source →3.1.6
- Update Platform & SDK: Update Flutter to
3.41.9and Dart to3.11.5 - Promote Assistants, Messages, Threads, and Runs V2 to be default and delete obsolete V1 endpoints and model classes
- Support OpenAI Reasoning Models (o1, o1-preview, o1-mini, o3-mini) and parameter settings (
reasoningEffort,maxCompletionTokens) - Support Modern OpenAI Features:
developerandtoolmessage roles,store,metadata,parallelToolCalls, andstreamOptions - Support Prompt Caching details: capture
cachedTokensmetrics insideCompletionTokensDetails - Support Audio Completions: audio input/output with chat completion modalities and configurations
- Support Project & User Organization Management APIs (
openAI.projectAndOrg) - Support OpenAI Responses API (
/v1/responses) for advanced reasoning and code-generation, includingtools&toolChoiceparameters - Fix Table of Contents navigation, casing, and broken anchor links in
README.md - Verify robust Null Safety configurations across critical response models (AssistantData, ThreadResponse, CreateMessageV2Response, CreateRunResponse)
Release notes
Open source →- Update Platform & SDK: Update Flutter to
3.41.9and Dart to3.11.5 - Promote Assistants, Messages, Threads, and Runs V2 to be default and delete obsolete V1 endpoints and model classes
- Support OpenAI Reasoning Models (o1, o1-preview, o1-mini, o3-mini) and parameter settings (
reasoningEffort,maxCompletionTokens) - Support Modern OpenAI Features:
developerandtoolmessage roles,store,metadata,parallelToolCalls, andstreamOptions - Support Prompt Caching details: capture
cachedTokensmetrics insideCompletionTokensDetails - Support Audio Completions: audio input/output with chat completion modalities and configurations
- Support Project & User Organization Management APIs (
openAI.projectAndOrg) - Support OpenAI Responses API (
/v1/responses) for advanced reasoning and code-generation, includingtools&toolChoiceparameters - Fix Table of Contents navigation, casing, and broken anchor links in
README.md - Verify robust Null Safety configurations across critical response models (AssistantData, ThreadResponse, CreateMessageV2Response, CreateRunResponse)
- Update Platform & SDK: Update Flutter to
-
3.1.511 Apr 2025 -
3.1.421 Dec 2024Release notes
Open source →merge code from PR Added support for image data i.e, type (image_file, image_url) in content v2 model #127
-
3.1.313 Nov 2024Release notes
Open source →- Implement support for streaming responses from OpenAI on web platform
- Merge Code from contributors
- Added json_schema support to ResponseFormat
3.1.4
- Added support for image data i.e, type (image_file, image_url) in content v2
- Implement support for streaming responses from OpenAI on web platform
-
3.1.225 Sep 2024 -
3.1.125 Sep 2024 -
3.1.030 Jul 2024 -
3.0.908 Jun 2024Release notes
Open source →Support
- Assistant Version 2
- Thread Version 2
- Message Version 2
- Run Version 2
-
3.0.818 May 2024 -
3.0.728 Apr 2024Release notes
Open source →- Fix list run case id is null
- Message add runId
- Add fix for assistant_data json parsing
-
3.0.628 Apr 2024Nothing published for this version
-
3.0.406 Mar 2024Release notes
Open source →- Fix bugs
- Update Assistant Model
- Add Support Tools to Json
- Update Generate Image Request
-
3.0.328 Feb 2024 -
3.0.226 Feb 2024Nothing published for this version
-
3.0.102 Feb 2024Nothing published for this version
-
3.0.029 Jan 2024Nothing published for this version
-
2.2.819 Dec 2023Release notes
Open source →- Update Lib from community
- missing first word in sse response
- Fix sse bad state close
- sse not work as intended
- custom OpenAI endpoint
3.0.0
- Update OpenAi Model
- Add New Model Generate Image
- Add Assistants API
3.0.1
- Audio
- Fix create transcribes error
- Create speech
- Embedding
- Add new Model
- Thread
- Create a thread.
- Retrieves a thread.
- Modifies a thread.
- Delete a thread.
- Message
- Create a message.
- List messages
- List message files
- Retrieve message
- Retrieve message file
- Modify message
- Run
- Create a run.
- Create a thread and run it in one request.
- List runs
- List run steps
- Retrieves a run.
- Retrieve run step
- Modifies a run.
- Submit tool outputs to run
- Cancel a run
3.0.2
- Fix bugs
- Update Lib from community
-
2.2.609 Nov 2023 withdrawn -
2.2.517 Sep 2023Release notes
Open source →- Update Fine-Tuning
- Add recommended model
- gpt-3.5-turbo-0613
- Deprecate Model
- CurieFineModel()
- AdaFineModel()
- FineTuned Deprecate Method
- create
- list
- retrieve
- cancel
- delete
- listStream
- New API
- createFineTuneJob
- listFineTuneJob
- retrieveFineTuneJob
- cancelFineTuneJob
- cancelFineTuneJobStream
- Add recommended model
- Update Fine-Tuning
-
2.2.429 Jul 2023 -
2.2.306 Jul 2023 -
2.2.225 Jun 2023 -
2.2.119 Jun 2023 -
2.2.014 Jun 2023 -
2.1.908 Jun 2023Release notes
Open source →- new models data
- completion custom model
- chat complete custom model
- fineTune custom model
- embedded custom model
- edit custom model
-
2.1.807 Jun 2023 -
2.1.703 Jun 2023 withdrawn -
2.1.624 May 2023 -
2.1.517 May 2023 -
2.1.417 May 2023 -
2.1.315 May 2023 -
2.1.219 Apr 2023Nothing published for this version
-
2.1.110 Apr 2023Nothing published for this version
-
2.1.010 Apr 2023 -
2.0.910 Apr 2023Release notes
Open source →- Features
- Fine-tunes
- Create Fine tune
- Fine Tune List
- Fine Tune List Stream (SSE)
- Retrieve
- Cancel
- Delete
- Moderation's
- Fine-tunes
- Remove Method Deprecate
- Features
-
2.0.808 Apr 2023Release notes
Open source →- Features
- Edit
- Edit Prompt
- Edit Image
- Variations
- Cancel Generate
- Complete Text
- Chat Complete
- Edit
- File
- Audio
- Embedding
- File
- Get File
- Upload File
- Delete File
- Retrieve File
- Retrieve Content File
- Audio
- Audio Translate
- Audio Transcribe
- Embedding
- Update README
- Edit
- Features
-
2.0.704 Apr 2023Release notes
Open source →- Update
- Stop Generating prompt Method
- parentId message in response data
- change model string to enum type
- Update
-
2.0.619 Mar 2023Release notes
Open source →- Deprecated Methods
- onChatCompletionStream
- onCompletionStream
- Support Stream Parameter Make SSE With Generate Prompt
- onCompletionSSE
- onChatCompletionSSE
- Deprecated Methods
-
2.0.518 Mar 2023 -
2.0.411 Mar 2023Nothing published for this version
-
2.0.311 Mar 2023Nothing published for this version
-
2.0.208 Mar 2023 -
2.0.105 Mar 2023Release notes
Open source →- update client library
- change method name
- onCompleteText as onCompletion
- onCompleteStream as onCompletionStream
- Support ChatGPT 3.5 turbo
- Add new Model
- kChatGptTurboModel
- kChatGptTurbo0301Model
- New Method
- onChatCompletion
- onChatCompletionStream
-
2.0.014 Feb 2023 -
1.0.212 Jan 2023 -
1.0.2+112 Jan 2023Nothing published for this version
-
1.0.2+229 Jan 2023 withdrawnNothing published for this version
-
1.0.2+329 Jan 2023Nothing published for this version
-
1.0.2+407 Feb 2023Nothing published for this version
-
1.0.1+126 Dec 2022Nothing published for this version
-
1.0.1+226 Dec 2022Nothing published for this version
-
1.0.1+302 Jan 2023Nothing published for this version
-
1.0.1+411 Jan 2023 -
1.0.1+511 Jan 2023 -
1.0.026 Dec 2022Nothing published for this version