Releases: cohere-ai/cohere-compass-sdk
Releases · cohere-ai/cohere-compass-sdk
Release v2.5.0
chore: release 2.5.0 (#183) Update version to release SDK with https://github.com/cohere-ai/cohere-compass-sdk/pull/182 Signed-off-by: Jarrah <[email protected]>
Release v2.4.0
feat: Adjust the content type enums to keep in sync with the backend …
Release v2.3.3
fix: Add __init__.py to utils package to make it importable (#176) This PR adds a docstring to the `cohere_compass/utils/__init__.py` file.
Release v2.3.2
feat: add authorized_groups and merge_group_on_conflict to uploads (#…
Release v2.2.2
feat: Add DocX parsing strategy to enable configuring convert-to-PDF …
Release v2.2.1
feat: Making content type optional in upload document (#170) ## Description Following from https://github.com/cohere-ai/compass/pull/1570, making content_type optional in skd also
Release v2.2.0
feat: Improve retry and exception handling in the SDK clients (#171) # Overview The retry mechanism was incorrectly configured, resulting in capturing and retrying on errors it shouldn't retry on, e.g. `asyncio.CancelledError` or `asyncio.TimeoutError`. Instead of a negative filter when using `tenacity`'s `retry` decorator, i.e. `retry_if_not_exception_type((CompassClientError,))`, which captured a lot more exceptions than we originally intended, we now specifically list the exceptions that we know we want to retry on, or otherwise let the error bubble. This PR also improves the exception hierarchy by introducing a few new exceptions to help us better communicate errors to the clients without having to bubble or wrap httpx exceptions. Specifically, we are introducing: - CompassNetworkError - CompassServerError - CompassTimeoutError As part of this PR, the `utils.py` module were refactored into multiple files to avoid having a pile of utility functions dumped in a single file.
Release v2.1.2
chore: Update version (#167) <!-- begin-generated-description --> This PR updates the pyproject.toml file to increment the version number from 2.1.1 to 2.1.2. - The version number is updated from 2.1.1 to 2.1.2. <!-- end-generated-description -->
v1.9.1
Full Changelog: v1.9.0...v1.9.1
- Leave Presentation Parser Unset
- Default to 0 chars required per chunk instead of 3
Release v2.1.1
fix: Add "path" field to RetrievedChunk (#164) To stay in line with the API ([private repo ref](https://github.com/cohere-ai/compass/blob/main/api/src/api/model.py#L74)), I am adding the `path` attribute to the RetrievedChunk. This should solve an issue where a call to `get_document` doesn't set the `path` field in the chunks for the user, even though the API is returning it.