Releases: predictionguard/python-client
Releases · predictionguard/python-client
v2.7.0
v2.6.0
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
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
Major Changes
- None
New Features
- Adds support for
string
inputs inchat.completions
in addition to the currentlist of dictionaries
. - Adds support for
string
andlist of strings
input inembeddings
in 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
429
error code check to be in relevant functions.
v2.3.3
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
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
v2.2.1
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.