Releases: 64bit/async-openai
Releases · 64bit/async-openai
v0.16.2
v0.16.1
v0.16.0
New
- added: Text to speech API #130 by @m1guelpf
- updated: Crate is updated to new spec released on DevDay #131
Notes about this release:
- Most of the existing
examples/*
are tested. - Assistants and related API are least tested.
- Please do send a PR if you find any issues.
Thank you
Many thanks to contributor @m1guelpf
v0.15.0
New
- added : Use
secrecy
crate to storeapi_key : Secret<String>
in configs #114 by @ironman5366 - added: Derive
Copy
for enums:ImageSize
,ResponseFormat
,TextModerationModel
,Role
, andAudioResponseFormat
#117 by @m1guelpf - added: Expose config getter in
Client
#123 by @Czechh - updated: Enum type for
finish_reason
to match latest spec for chat completions API #111 by @retrage - updated:
ChatCompletionFunctionCall
enum for better DX #118 by @m1guelpf
Updates from latest upstream spec 2.0.0
Chat & Completion:
- use enums
FinishReason
&CompletionFinishReason
forfinish_reason
instead ofString
- Rename struct
Usage
toCompletionUsage
Embeddings:
- Add field
encoding_format
inCreateEmbeddingRequest
Files:
- Update
status_detail
field type inOpenAIFile
from object toString
Images:
- Rename
ImageData
toImage
to match spec - Rename
ImageResponse
toImagesResponse
to match spec
Moderations:
- Add new fields in moderation request and response types.
Fine Tuning
- Add new Fine Tuning APIs
Fine Tunes & Edit
- Mark
Edit
andFineTunes
to be deprecated
Doc comments
- Update doc comments to match latest spec
Thank you
Thank you to the contributors (@m1guelpf , @Czechh ) and first time (@ironman5366 , @retrage ) contributors! 🎉
v0.14.3
New
- updated: Custom
Debug
implementation forAzureConfig
andOpenAIConfig
to prevent printing of API key #112
New Contributors
- @Emilgardis made their first contribution in #112 🎉
v0.14.2
v0.14.1
v0.14.0
v0.13.1
New
- fixed : Bug fix to handle function call streaming #98
Example Updated
examples/function-call-stream
is now fully streamable #98
New Contributors
- @buraktabn made their first contribution in #98 🎉
v0.13.0
New
Breaking changes
- updated: Chat streaming response types now reflect the OpenAPI spec #92
ChatCompletionResponseStreamMessage
is nowChatCompletionStreamResponseDelta
ChatChoiceDelta
is nowChatCompletionResponseStreamMessage
- fixed:
r#type
field ofApiError
is changed fromString
toOption<String>
to support Azure OpenAI service error spec #95
New Examples
examples/fine-tune-cli
by @Doordashcon #84examples/function-call-stream
by @oslfmt #90
New Contributors
- @Doordashcon made their first contribution in #84 🎉
- @oslfmt made their first contribution in #85 🎉
- @ChristopherJMiller made their first contribution in #95 🎉