Releases: epam/ai-dial-sdk
Releases · epam/ai-dial-sdk
0.21.0
Features
- add cache breakpoints for chat completion tools and messages (#236)
- support extra fields in request classes (via optional
allow_extra_request_fieldsflag inDIALAppconstructor) (#225)
Fixes
- fix streaming of function/tool call arguments (#239)
Other
- bump epam/ai-dial-ci from 1.11.1 to 1.12.1 (#233)
0.20.0
Features
- add API for requesting application properties (#223)
- sync chat completion data types with api-version 2024-10-21 (#224, #226)
- add chat completion message with
developerrole (#227) - support Python 3.13 (#230, #231)
Other
- bump pillow from 10.2.0 to 10.3.0 (#232)
Breaking changes
- removed
custom_fields.application_propertiesfield from the chat completion request (#223); use new API to retrieve application properties instead:await request.request_dial_application_properties()to fetch application properties from the DIAL listingrequest.unreliable_dial_application_propertiesto get application properties supplied by Core in the request headers (keep in mind that excessively large headers may be removed in transit, thus, unreliable qualification)
0.19.0
0.18.0
0.17.0
0.16.0
Features
- add
headersfield to the HTTP exception class (#192) - relaxed version constraints for telemetry packages; removed HTTP client packages from dependencies (#195)
Fixes
- handle client disconnect gracefully by propagating cancellation exception up to the chat completion handler (#185)
- support conditional imports of http client libraries (#194)
Other
0.15.0
Features
- add heartbeat feature to chat completion endpoint (#175)
- add static functions in SDK request as a new type of tool with
type=static_function(#184)
Fixes
- relaxed validation of the
Attachmentclass (#171) - fixed sharing issues in the algorithm for merging chunks (#183)
Other
- bump starlette from 0.36.3 to 0.40.0; fastapi from 0.109.2 to 0.115.2 (#170)
- bump epam/ai-dial-ci from 1.9.1 to 1.9.2 (#168)
- bump epam/ai-dial-ci from 1.9.2 to 1.9.4 (#177)
- bumped dependency versions in langchain_rag example (#180)
- bump langchain from 0.3.0 to 0.3.7 in /examples/langchain_rag (#181)
- refactor streaming logic (#173)
0.14.0
0.13.0
Deprecations
- helper methods for various errors were deprecated, and their roles are now performed by the corresponding exception classes. For example, the call to the
request_validation_error("error message")function can be replaced with theraise RequestValidationError("error message")exception class. The methods will be available until the next major release (#160).
Features
- introduced exception classes for various errors (#160)