Releases: 64bit/async-openai
Releases · 64bit/async-openai
v0.12.2
New
- bug fix:
OpenAIConfig
would generate url with constantOPENAI_API_BASE
even afterapi_base
has been changed. This bug has been fixed in #88
New contributors
- @kirillkuzin made their first contribution in #88 🎉
v0.12.1
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
- @mikeparisstuff made their first contribution in #82 🎉
v0.12.0
New
- added: function call support along with an example. This is a breaking change only for chat completion types. #79 #81
New contributors
- @DaviRain-Su made their first contribution in #79 🎉
v0.11.1
v0.11.0
New
- There are two configurations
OpenAIConfig
andAzureConfig
to be used inClient::with_config( config )
Client::new()
defaults to client with defaultOpenAIConfig
with type change toClient<OpenAIConfig>
Breaking change
- api_base, org_id, api_key are no longer configured through
Client
instead platform specific configurations are done throughOpenAIConfig
orAzureConfig
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
New
- added: all request and response types in
types.rs
deriveSerialize
trait #66
New Contributors
@djrodgerspryor made their first contribution #65 #66 🎉
v0.10.2
New
- added: Derive
PartialEq
for all types. - updated: log errors via
tracing::error
for all deserialization error
New Contributors
- @schneiderfelipe made their first contribution in #63 🎉
v0.10.1
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.