Skip to content

Releases: Arend-Jan/chat-gpt-lib-rs

v0.6.3

01 Feb 16:20
5217c9d
Compare
Choose a tag to compare

What's Changed

New Features

  • Streaming (SSE) Support Added:
    We’ve added support for Server-Sent Events (SSE) to enable real-time, incremental responses for both Chat and Completions endpoints. Now, when you pass stream: Some(true) in your request, the API returns a stream of partial updates instead of waiting for the entire response to complete.
    • Chat Streaming:
      Use the new function [create_chat_completion_stream](https://github.com/your-repo/chat-gpt-lib-rs/blob/main/src/api_resources/chat.rs) to receive incremental chat responses. Each update returns a JSON chunk containing a "delta" with partial message content.
    • Completions Streaming:
      Similarly, completions streaming is supported via the corresponding streaming function in the completions module.
    • Real-Time Experience:
      This feature allows client applications to display results as they’re generated, providing a smoother and more responsive user experience.

Improvements

  • Updated streaming deserialization logic to properly handle partial responses (including SSE termination markers).
  • Enhanced documentation and examples in the README and example files to guide users on how to utilize streaming features.
  • Improved error handling and logging for streaming responses.

Bug Fixes

  • Resolved platform-specific issues (e.g., file not found error messages on Windows) by refining error tests.

Full Changelog: v0.6.2...v0.6.3

v0.6.2

26 Jan 13:25
ba9908d
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.6.1...v0.6.2

v0.6.1

26 Jan 11:25
17a5963
Compare
Choose a tag to compare

What's Changed

  • version bump by @Arend-Jan in #96
  • Bump codecov/codecov-action from 4 to 5 by @dependabot in #77
  • Release/0.6.1 by @Arend-Jan in #104
    • added some code coverage test
    • fixed cargo warnings
    • fixed potential vulnerability in dependency (rustls)

Full Changelog: v0.6.0...v0.6.1

v0.5.1

22 May 16:02
62a9caa
Compare
Choose a tag to compare

What's Changed

  • [FIX] for potential rustls dependency vulnerability by @Arend-Jan in #71

Full Changelog: v0.5.0...v0.5.1

v0.5.0

22 May 14:18
0b71ca1
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.4.1...v0.5.0

v0.4.1

14 May 08:02
4ced92f
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.4.0...v0.4.1

v0.4.0

14 May 07:16
fb2ff3e
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.3.4...v0.4.0

v0.3.4

12 Mar 15:47
24bf201
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.3.3...v0.3.4

v0.3.3

07 Feb 13:53
3f88333
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.3.2...v0.3.3

v0.3.2

22 Nov 19:16
01572e4
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.3.1...v0.3.2