Skip to content

Releases: 64bit/async-openai

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

v0.9.4

12 Mar 04:06
async-openai-v0.9.4
10e362a
Compare
Choose a tag to compare

New

  • added: Derive Clone for all API types #55

Repeat Contributors 🎉

v0.9.3

11 Mar 03:12
async-openai-v0.9.3
432566c
Compare
Choose a tag to compare

New

  • added: derive Deserialize for CreateChatCompletionRequest and its related types ChatCompletionRequestMessage, Role; and Prompt #53

New Contributors

  • @JLWhitney97 made their first open source contribution in #53 🎉 🎉 🎉

v0.9.2

05 Mar 05:57
async-openai-v0.9.2
1013ac3
Compare
Choose a tag to compare

Bug Fixes

  • Skip serialization of user if None in CreateChatCompletionRequest #52

New Contributors

  • @dmweis made their first contribution in #52 🎉

v0.9.1 (please skip this and use 0.9.2 instead; its yanked on crates.io )

05 Mar 04:09
async-openai-v0.9.1
5fcfc19
Compare
Choose a tag to compare

Bug Fixes

New Contributors