Releases: fxnai/fxn
Releases · fxnai/fxn
Function 0.0.31
- Added experimental support for making on-device predictions.
- Added
PredictionResource.name
field for handling prediction resources with required file names.
Function 0.0.30
- Fixed data type inference when making predictions.
Function 0.0.29
- Minor fixes and improvements.
Function 0.0.28
- Added
fxn create --cloud
CLI shorthand flag for setting the predictor type toPredictorType.Cloud
. - Added
fxn create --edge
CLI shorthand flag for setting the predictor type toPredictorType.Edge
. - Removed
AccessMode.Protected
access mode. UseAccessMode.Public
orAccessMode.Private
instead. - Removed
fxn.types.tag.parse_tag
function. UseTag.from_str
class method instead. - Removed
fxn.types.tag.serialize_tag
function. Usestr(Tag)
instead.
Function 0.0.27
- Added support for streaming when making predictions with Function CLI.
- Added
PredictionResource.type
field for inspecting the type of a prediction resource. - Fixed pydantic forward reference errors when constructing
Signature
andPredictor
instances. - Fixed
model_dump
error when making predictions in Google Colab due to outdatedpydantic
dependency. - Refactored
fxn.predictions.create
method to accept aninputs
dictionary instead of relying on keyword arguments.
Function 0.0.26
- Added support for serializing
BytesIO
instances infxn.predictions.to_value
method. - Refactored
fxn.predictions.to_value
method toto_object
for clarity. - Refactored
fxn.predictions.from_value
method toto_value
for clarity. - Updated
fxn.predictions.to_object
method to always use aliased field names when serializing Pydantic types.
Function 0.0.25
- Fixed JSON serialization errors when using the CLI to perform some operations.
Function 0.0.24
- Added
Function
client class to replace functions on individual API types. - Refactored
Value.from_value
method tofxn.predictions.from_value
. - Refactored
Value.to_value
method tofxn.predictions.to_value
. - Changed
Parameter.default_value
field type toValue
. - Removed
CloudPrediction
class. UsePrediction
class instead. - Removed
EdgePrediction
class. UsePrediction
class instead.
Function 0.0.23
- Added
AccessMode.Protected
enumeration member for working with protected predictors. - Added
pydantic
as an explicit dependency.
Function 0.0.22
- Added
Prediction.stream
method for creating streaming predictions.