Skip to content

Releases: predictionguard/python-client

v2.9.2

21 Oct 15:20
bb0cd90

Choose a tag to compare

Major Changes

  • None

New Features

  • Adds reasoning_effort parameter to chat.completions

Bug Fixes and Patches

  • None

v.2.9.1

06 Aug 18:35
47f2078

Choose a tag to compare

Major Changes

  • None

New Features

  • Adds support for setting request timeouts, either through a TIMEOUT env variable or setting timeout when initializing the PredictionGuard class.

Bug Fixes and Patches

  • None

v2.9.0

06 Aug 16:00
21abbae

Choose a tag to compare

Major Changes

  • Cleans up and updates examples in code and notebooks

New Features

  • Adds support for new /detokenize endpoint
  • Adds support for timestamps and speaker diarization to audio transcriptions (not currently supported in multi-tenant environments).
  • Adds notebooks for new multiple new endpoints that were already supported.

Bug Fixes and Patches

  • Fixes incorrect max_token parameter deprecation in /completions functionality.

v2.8.3

26 Jun 20:41
9b60ca5

Choose a tag to compare

Major Changes

  • Adds deprecation message for translate function.

New Features

  • Adds support for enable_ocr parameter in document.extract function.

Bug Fixes and Patches

  • None

v2.8.2

06 May 13:52
6c0ae47

Choose a tag to compare

Major Changes

  • None

New Features

  • Adding support for new /documents parameters.

Bug Fixes and Patches

  • None

v2.8.1

28 Mar 19:15
93202ec

Choose a tag to compare

Major Changes

  • None

New Features

  • Adds support for new audio parameters, language, prompt, and temperature.

Bug Fixes and Patches

  • Fixes error in vision calls related to tool calling error even when not using tool calls.

v2.8.0

27 Mar 18:48
7f97c57

Choose a tag to compare

Major Changes

  • None

New Features

  • Adds support for streaming in /completions endpoint.
  • Adds support for new /documents endpoint, which currently allows for the extraction of data contained in documents.
  • Adds support for new /audio endpoint, which currently allows for the transcription of audio files.
  • Adds support for tool calling in /chat/completions using the new tools, tool_choice, and parallel_tool_calls parameters.
  • Adds support for new parameters added in new model server, including stop tokens, frequency_penalty, presence_penalty, and logit_bias.

Bug Fixes and Patches

  • None

v2.7.1

28 Jan 19:03
1c0d720

Choose a tag to compare

Major Changes

  • None

New Features

  • Adds support for max_completion_tokens parameter in chat.completions function

Bug Fixes and Patches

  • None

v2.7.0

21 Nov 16:03
64e5618

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

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