New info structure and update database information
JAI - python SDK v0.22.0 - 23/09/2022
We're happy to announce the v0.22.0!!
We recommend that all users upgrade to this version using pip:
pip install -U jai-sdk
Release Notes
- Good Practices
- Backwards Incompatible Change
- New Features
Backwards Incompatible Change
- Adjust for new info structure
The.info
method has been changed. New info now contains the following keys:
name: str
displayName: str
owner: str
project: str
type: str
version: str
parents: List[str]
size: int # when get_size=True
embedding_dimension: int # when get_size=True
Good Practices
- Importing
tqdm
withfrom tqdm.auto import tqdm
This should normalize the progress bar when using jupyter notebooks.
New Features
- new method
update_database
to change information (displayName
andproject
) of the database
What's Changed
- New class layer by @ricardokazu in #349
- Format Python code with psf/black push by @github-actions in #350
- New info by @ricardokazu in #351
- Format Python code with psf/black push by @github-actions in #352
- Tqdm auto by @ricardokazu in #354
- Format Python code with psf/black push by @github-actions in #355
- v0.22.0 by @ricardokazu in #353
Full Changelog: v0.21.0...v0.22.0