Aidial-sdk

Latest version: v0.15.0

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

Scan your dependencies

Page 1 of 4

0.15.0

Features

* **api**: added a new type of tool in chat completion request. These tools have a static configuration and are distinguished from the regular tools by the type `static_function` (184)
* supported a heartbeat feature for chat completion handlers. When enabled, SDK periodically sends heartbeat responses as a part of a streaming response (175)

Fixes

* fixed sharing issues in the algorithm that merges chat completion streaming chunks (183)
* allowed empty strings in `Attachment.url` and `Attachment.data` fields (171)

Other

* bumped epam/ai-dial-ci from 1.9.1 to 1.9.2 (168)
* bumped epam/ai-dial-ci from 1.9.2 to 1.9.4 (177)
* bumped langchain from 0.3.0 to 0.3.7 in /examples/langchain_rag (181)
* bumped starlette from 0.36.3 to 0.40.0; fastapi from 0.109.2 to 0.115.2 (170)
* bumped dependency versions in langchain_rag example (180)
* refactored streaming logic (173)

0.14.0

Features

* introduced content parts to the type of the request user message content (164)

Other

* bump langchain from 0.2.9 to 0.2.10 in /examples/langchain_rag (162)

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 the `raise RequestValidationError("error message")` exception class. The methods will be available until the next major release (160).

Features

* introduced exception classes for various errors (160)

0.12.0

Features

* added original_request to the Request class (158)

0.11.0

Features

* added helpers for various exceptions including a prompt truncation error (151)
* parameters field of tool spec is made optional (149)
* passing status_code via code field in DIALException (155)
* supported extensible routes (133)

Other

* bump aiohttp from 3.9.4 to 3.10.2 (152, 153, 154)
* bump langchain-community in /examples/langchain_rag (145)
* bumped langchain-community from 0.2.7 to 0.2.9 (145, 150)
* migrated examples to latest SDK (134)

0.10.1

Fixes

* relaxed version constraints on httpx to >=0.25.0,<1.0 (146)

Page 1 of 4

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.