Skip to content

Releases: predictionguard/python-client

v2.7.0

21 Nov 16:03
64e5618
Compare
Choose a tag to compare

Major Changes

  • None

New Features

  • Adds support for new rerank function, allowing for the use of reranker models from the Prediction Guard API.

Bug Fixes and Patchs

  • None

v2.6.0

14 Nov 18:31
a4678a7
Compare
Choose a tag to compare

Major Changes

  • None

New Features

  • Adding models function to allow for fetching all models available in Prediction Guard platform.
  • Adding capability parameter to individual endpoint model listing functions to allow for sorting by capabilities.
  • Adding list_models function to tokenize endpoint

Bug Fixes and Patched

  • None

v2.5.0

29 Oct 20:37
e165ffb
Compare
Choose a tag to compare

Major Changes

  • Client codebase reorganized for easier understanding

New Features

  • Adds support for arrays of tokens and arrays of arrays of tokens as inputs to the /embeddings endpoint
  • Adds support for /tokenize endpoint, which uses model tokenizer to return tokens for input text.

Bug Fixes and Patches

  • None

v2.4.0

16 Oct 22:06
337b5d0
Compare
Choose a tag to compare

Major Changes

  • None

New Features

  • Adds support for string inputs in chat.completions in addition to the current list of dictionaries.
  • Adds support for string and list of strings input in embeddings in addition to the current list of dictionaries
  • Adds tests for new input types

Bug Fixes and Patches

  • None

v2.3.4

08 Oct 21:02
2022eba
Compare
Choose a tag to compare

Major Changes

  • None

New Features

  • None

Bug Fixes and Patches

  • Adjusting the 429 error code check to be in relevant functions.

v2.3.3

08 Oct 20:47
839de7f
Compare
Choose a tag to compare

Major Changes

  • None

New Features

  • None

Bug Fixes and Patches

  • Adds a check for 429 responses from the API to return a meaningful error response.

v2.3.2

30 Sep 18:08
8c6d987
Compare
Choose a tag to compare

Major Changes

  • None

New Features

  • None

Bug Fixes and Patches

  • Adds warning for model aliases that have changed.
  • Fixes bug causing requests with multiple images to fail.

v2.3.1

16 Aug 17:43
61b29bd
Compare
Choose a tag to compare

Major Changes

  • None

New Features

  • None

Bug Fixes and Patches

  • Changing API key check to fail on 401 error code rather than 403 to align with new authentication.
  • Adds linting for improved development workflow.

v2.3.0

24 Jul 18:03
8a93d18
Compare
Choose a tag to compare

Major Changes

  • None

New Features

  • Adds support for data URI inputs to image fields for vision and embeddings functions

Bug Fixes and Patches

  • None

v2.2.1

19 Jul 14:19
Compare
Choose a tag to compare

Major Changes

  • None

New Features

  • None

Bug Fixes and Patches

  • Changes the detect parameter in the /injection route to be optional, matching the main API.