Skip to content

Releases: cohere-ai/cohere-compass-sdk

Release v2.6.0

19 Feb 15:07
27e3111

Choose a tag to compare

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

18 Feb 15:52
5e01b61

Choose a tag to compare

fix: Adding wait_for_completion in group update (#185)

## Description

Adding `wait_for_completion` when updating groups

Release v2.5.0

04 Feb 16:58
17d6f67

Choose a tag to compare

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

13 Jan 11:38
81895da

Choose a tag to compare

feat: Adjust the content type enums to keep in sync with the backend …

Release v2.3.3

17 Dec 00:15
1705b75

Choose a tag to compare

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

16 Dec 08:20
31e98a2

Choose a tag to compare

feat: add authorized_groups and merge_group_on_conflict to uploads (#…

Release v2.2.2

08 Dec 15:25
6ba9228

Choose a tag to compare

feat: Add DocX parsing strategy to enable configuring convert-to-PDF …

Release v2.2.1

04 Dec 10:27
768a1cb

Choose a tag to compare

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

01 Dec 19:41
51a6ab8

Choose a tag to compare

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

20 Nov 10:57
9c85173

Choose a tag to compare

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 -->