Skip to content

Releases: 64bit/async-openai

v0.12.2

26 Jul 06:09
async-openai-v0.12.2
2cb078b
Compare
Choose a tag to compare

New

  • bug fix: OpenAIConfig would generate url with constant OPENAI_API_BASE even after api_base has been changed. This bug has been fixed in #88

New contributors

v0.12.1

29 Jun 05:31
async-openai-v0.12.1
b4e3671
Compare
Choose a tag to compare

New

  • added: crate feature native-tls-vendored = ["reqwest/native-tls-vendored"] #82
    Context for this feature:

    I run my rust services on ARM-based AWS graviton instances which have a different version of OpenSSL that doesn't play nicely with reqwest. This diff adds a new feature to async-openai that allows removing the dependency on OpenSSL by opting in for the native-tls-vendored feature in the reqwest library.

    I've tested this on graviton with an incompatible version of OpenSSL and things work nicely :)

New Contributors

v0.12.0

24 Jun 18:02
async-openai-v0.12.0
3d2b0f4
Compare
Choose a tag to compare

New

  • added: function call support along with an example. This is a breaking change only for chat completion types. #79 #81

New contributors

v0.11.1

21 Jun 06:12
async-openai-v0.11.1
1623af8
Compare
Choose a tag to compare

New

  • added: To fulfill Clone & Debug derives on Client: Derive Debug and Clone on AzureConfig and OpenAIConfig; Config trait requires Clone

New Contributors

v0.11.0

16 Jun 19:49
async-openai-v0.11.0
f7ba6e3
Compare
Choose a tag to compare

New

  • There are two configurations OpenAIConfig and AzureConfig to be used in Client::with_config( config )
  • Client::new() defaults to client with default OpenAIConfig with type change to Client<OpenAIConfig>

Breaking change

  • api_base, org_id, api_key are no longer configured through Client instead platform specific configurations are done through OpenAIConfig or AzureConfig

New Examples

  • Added new example azure-openai-service

New Contributors

  • @deipkumar made their first contribution and made Azure support possible in #67 🎉
  • @Czechh provided valuable feedback for Azure support in #67 🎉

v0.10.3

12 Apr 06:16
async-openai-v0.10.3
f6b04b5
Compare
Choose a tag to compare

New

  • added: all request and response types in types.rs derive Serialize trait #66

New Contributors

@djrodgerspryor made their first contribution #65 #66 🎉

v0.10.2

02 Apr 06:30
async-openai-v0.10.2
4e2615f
Compare
Choose a tag to compare

New

  • added: Derive PartialEq for all types.
  • updated: log errors via tracing::error for all deserialization error

New Contributors

v0.10.1

25 Mar 21:57
async-openai-v0.10.1
554cfde
Compare
Choose a tag to compare

New

Log or retain useful information when error occurs for visibility and debuggability :

  • added: Call tracing::error!( ... ) with actual payload returned from API when de-serialization fails: to help debugging the APIs which are in beta and their types are "fluid"
  • added: Retain file path / directory / url in error message when download or save fails.

v0.10.0

19 Mar 04:14
async-openai-v0.10.0
f785d85
Compare
Choose a tag to compare

New

  • added: rustls support. By default async-openai now use rustls for reqwest; native tls ( which was default behavior of reqwest ) is available through feature flag native-tls #60

New Contributors

  • @Xuanwo made their first contribution in #60 🎉

v0.9.5

18 Mar 00:22
async-openai-v0.9.5
53fc667
Compare
Choose a tag to compare

New

  • added: Configure custom reqwest client through with_http_client method on async_openai::Client #58

New Contributors