Releases: cohere-ai/cohere-compass-sdk
Releases · cohere-ai/cohere-compass-sdk
Release v2.6.0
feat: Remove MetadataConfig, add EnrichmentConfig (#186) `MetadataConfig` has been deprecated on Compass server side. It is being replaced with `EnrichmentConfig`. Enrichment will only be enabled for the async ingestion endpoints, so has only been added to the relevant model here (`ParseableDocumentConfig`). This PR also removes a set of unused fields in `ParserConfig`. Follows on from https://github.com/cohere-ai/cohere-compass-sdk/pull/182 .
Release v2.5.1
fix: Adding wait_for_completion in group update (#185) ## Description Adding `wait_for_completion` when updating groups
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 <jarrah.lacko@cohere.com>
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 -->