Aidial-sdk

Latest version: v0.20.0

Safety actively analyzes 720896 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 5

0.20.0

Features

* add API for requesting application properties (223)
* sync chat completion data types with api-version [2024-10-21](https://github.com/Azure/azure-rest-api-specs/blob/main/specification/cognitiveservices/data-plane/AzureOpenAI/inference/stable/2024-10-21/inference.yaml) (#224, 226)
* add chat completion message with `developer` role (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_properties` field 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 listing
- `request.unreliable_dial_application_properties` to 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

Features

* introduce API for buttons (218)
* allow optional FastAPI app in `init_telemetry` (219)

Other

* add issue and pull request templates for better contributions

0.18.0

Features

* add `json_schema` option in `response_format` in chat completion request (217)
* add `required` option in `tool_choice` in chat completion request (216)

Other

* bump epam/ai-dial-ci from 1.10.2 to 1.11.0 (212)
* bump epam/ai-dial-ci from 1.11.0 to 1.11.1 (214)
* bump multidict from 6.0.4 to 6.0.5 (215)
* bump virtualenv from 20.24.5 to 20.26.6 (211)

0.17.0

Features

* support form schemas and form values in `/chat/completions` API (204)
* support `/configuration` endpoint (204)
* support application properties for type schemas (206)

Fixes

* define str of `HTTPException` via its message (210)

Other

* replace `AsyncGenerator` with `AsyncIterator` where possible (200)
* add missing dependencies in SDK examples (202)
* pin poetry to 1.8.5 (209)
* optimize trivy (198)
* bump epam/ai-dial-ci from 1.10.0 to 1.10.2 (205)
* bump protobuf from 5.29.0 to 5.29.1 (201)

0.16.0

Features

* add `headers` field 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

* added reference to PyPI (193)
* bump aiohttp from 3.10.2 to 3.10.11 (188, 190)
* bump epam/ai-dial-ci from 1.9.4 to 1.10.0 (189)
* bump opentelemetry packages from 1.20.0/0.41b0 to 1.22.0/0.43b0 to avoid bug in `opentelemetry-exporter-prometheus` (197)
* refactored and simplified unit tests (191)

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 `Attachment` class (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)

Page 1 of 5

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.