Change log¶
Versions¶
All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
[0.2.5] - 2024-12-05¶
Introduce (optional) support for setting custom metadata (properties) on
Datainstances. Seecustom_metadataparameter documentation forNyxClient.create_data(). Thenyx_client.propertiesmodule contains helpers for creating properties. An example:client.create_data( "my_dataset", ..., custom_metadata=[ Property.lang_string(SOME_NAMESPACE+"pred1", "good morning", "en"), Property.string(SOME_NAMESPACE+"pred2", "plain string"), Property.literal(SOME_NAMESPACE+"pred3", b64encode(b"binary blob").decode("ascii"), "base64Binary"), Property.uri(RDF_TYPE, NS+"SomeClass"), ], )
Add
Connectionsclass to allow referencing data from 3rd party storage:NyxClient.get_connectionsreturns a list of connections, andNyxClient.create_dataandNyxClient.update_datatake an optionalconnection_idto set
[0.2.4] - 2024-11-20¶
Changed¶
Configuration (env) files are now found relative to the current working directory instead of
nyx_clientinstallation directory. (There is no change if the configuration file has been specified using an absolute path.)env_fileforBaseNyxConfig.from_envandNyxConfigExtended.from_envis still optional but now defaults to.env(instead ofNone), to clearly illustrate what the default search path will be.
[0.2.3] - 2024-11-14¶
Added¶
Circleobject added, along side methods onNyxClientto get, create, update and delete circles, to enabled selective sharing of dataNyxClient.create_datanow creates data privately by default. Additional parameters ofcirclesandaccess_controlhave been added, to enable selective sharing of the data
[0.2.2] - 2024-11-6¶
Fixed¶
NyxClient.create_datahad a bug where the download url was sent to the API in an incorrect format.
[0.2.1] - 2024-10-31¶
Changed¶
NyxClient.create_dataandNyxClient.update_datanow make size and download url optional
Added¶
NyxClient.create_dataandNyxClient.update_datanow support a passing a file to be uploaded either a file, or a download_url must be provided
[0.2.0] - 2024-10-18¶
Changed¶
Nyx SDK is now two packages
nyx-clientfor simple API interactions, andnyx-extrasfor AI specific toolingDatanow takes more arguments, matching what is in the UIAll configs;
BaseNyxConfigandNyxConfigExtended(ReplacesOpenAiNyxConfigandCohereNyxConfig) are now constructed from params by default, old functionality is exposed viaBaseNyxConfig.from_env()NyxClientmost methods to retrieve data have been replaced in preference ofget_data()that supports multiple combined filtersNyxClientis now only initalized with an optionalBaseNyxConfig, and no-longer takes anenv_fileNyxClient.get_data_by_namehas been renamed toget_my_data_by_name
Removed¶
Datano longer has methoddownload()useas_string()oras_bytes()if it’s a binaryNyxClientproperty lists likeget_categories()have been replaced withcategories()(etc)
Added¶
NyxClientnow supportssubscribe(),unsubscribe()andupdate_data()
Moved¶
NyxLangChainhas moved to packagenyx-extras, and no longer takes anenv_fileParserhas moved to packagenyx-extras
[0.1.3] - 2024-09-27¶
Fixed¶
Added¶
Allow download in bytes (#11)
Changed¶
EI-3339 change highlevel example default to openai (#16)
[0.1.2] - 2024-09-23¶
Fixed¶
Upper casing can break AI when looking for sources (#13)
[0.1.1] - 2024-09-20¶
Fixed¶
[0.1.0] - 2024-09-19¶
Added¶
Initial public release