Releases: predictionguard/python-client
Releases · predictionguard/python-client
v2.10.0
Major Changes:
- None
New Features:
- Adds support for List input in
PIIandInjectionclasses. - Adds support for stream options in
chat completionsandcompletions. - Adds support for the
entity_listparameter in thePIIendpoint. - Switches to uv for dependency management.
Bug Fixes and Patches
- Updates and cleans up github actions
v2.9.2
Major Changes
- None
New Features
- Adds
reasoning_effortparameter tochat.completions
Bug Fixes and Patches
- None
v.2.9.1
Major Changes
- None
New Features
- Adds support for setting request timeouts, either through a
TIMEOUTenv variable or settingtimeoutwhen initializing the PredictionGuard class.
Bug Fixes and Patches
- None
v2.9.0
Major Changes
- Cleans up and updates examples in code and notebooks
New Features
- Adds support for new
/detokenizeendpoint - 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_tokenparameter deprecation in/completionsfunctionality.
v2.8.3
Major Changes
- Adds deprecation message for
translatefunction.
New Features
- Adds support for
enable_ocrparameter indocument.extractfunction.
Bug Fixes and Patches
- None
v2.8.2
Major Changes
- None
New Features
- Adding support for new
/documentsparameters.
Bug Fixes and Patches
- None
v2.8.1
Major Changes
- None
New Features
- Adds support for new audio parameters,
language,prompt, andtemperature.
Bug Fixes and Patches
- Fixes error in vision calls related to tool calling error even when not using tool calls.
v2.8.0
Major Changes
- None
New Features
- Adds support for streaming in
/completionsendpoint. - Adds support for new
/documentsendpoint, which currently allows for the extraction of data contained in documents. - Adds support for new
/audioendpoint, which currently allows for the transcription of audio files. - Adds support for tool calling in
/chat/completionsusing the newtools,tool_choice, andparallel_tool_callsparameters. - Adds support for new parameters added in new model server, including
stoptokens,frequency_penalty,presence_penalty, andlogit_bias.
Bug Fixes and Patches
- None
v2.7.1
Major Changes
- None
New Features
- Adds support for
max_completion_tokensparameter inchat.completionsfunction
Bug Fixes and Patches
- None
v2.7.0
Major Changes
- None
New Features
- Adds support for new
rerankfunction, allowing for the use of reranker models from the Prediction Guard API.
Bug Fixes and Patchs
- None