Skip to content

Releases: cohere-ai/cohere-compass-sdk

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 <[email protected]>

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

v1.9.1

19 Nov 15:25

Choose a tag to compare

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

14 Nov 20:35
758cca0

Choose a tag to compare

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.