Releases: predictionguard/python-client
Releases · predictionguard/python-client
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
v2.6.0
Major Changes
- None
New Features
- Adding
modelsfunction to allow for fetching all models available in Prediction Guard platform. - Adding
capabilityparameter to individual endpoint model listing functions to allow for sorting by capabilities. - Adding
list_modelsfunction to tokenize endpoint
Bug Fixes and Patched
- None
v2.5.0
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
/embeddingsendpoint - Adds support for
/tokenizeendpoint, which uses model tokenizer to return tokens for input text.
Bug Fixes and Patches
- None
v2.4.0
Major Changes
- None
New Features
- Adds support for
stringinputs inchat.completionsin addition to the currentlist of dictionaries. - Adds support for
stringandlist of stringsinput inembeddingsin addition to the currentlist of dictionaries - Adds tests for new input types
Bug Fixes and Patches
- None
v2.3.4
Major Changes
- None
New Features
- None
Bug Fixes and Patches
- Adjusting the
429error code check to be in relevant functions.
v2.3.3
Major Changes
- None
New Features
- None
Bug Fixes and Patches
- Adds a check for
429responses from the API to return a meaningful error response.
v2.3.2
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
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
Major Changes
- None
New Features
- Adds support for data URI inputs to image fields for vision and embeddings functions
Bug Fixes and Patches
- None