Skip to content

Releases: fxnai/fxn

Function 0.0.31

20 Mar 15:43
Compare
Choose a tag to compare
  • Added experimental support for making on-device predictions.
  • Added PredictionResource.name field for handling prediction resources with required file names.

Function 0.0.30

06 Mar 18:55
Compare
Choose a tag to compare
  • Fixed data type inference when making predictions.

Function 0.0.29

06 Mar 16:49
Compare
Choose a tag to compare
  • Minor fixes and improvements.

Function 0.0.28

20 Feb 21:56
Compare
Choose a tag to compare
  • Added fxn create --cloud CLI shorthand flag for setting the predictor type to PredictorType.Cloud.
  • Added fxn create --edge CLI shorthand flag for setting the predictor type to PredictorType.Edge.
  • Removed AccessMode.Protected access mode. Use AccessMode.Public or AccessMode.Private instead.
  • Removed fxn.types.tag.parse_tag function. Use Tag.from_str class method instead.
  • Removed fxn.types.tag.serialize_tag function. Use str(Tag) instead.

Function 0.0.27

13 Feb 15:21
Compare
Choose a tag to compare
  • 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 and Predictor instances.
  • Fixed model_dump error when making predictions in Google Colab due to outdated pydantic dependency.
  • Refactored fxn.predictions.create method to accept an inputs dictionary instead of relying on keyword arguments.

Function 0.0.26

18 Nov 23:01
Compare
Choose a tag to compare
  • Added support for serializing BytesIO instances in fxn.predictions.to_value method.
  • Refactored fxn.predictions.to_value method to to_object for clarity.
  • Refactored fxn.predictions.from_value method to to_value for clarity.
  • Updated fxn.predictions.to_object method to always use aliased field names when serializing Pydantic types.

Function 0.0.25

16 Nov 13:11
Compare
Choose a tag to compare
  • Fixed JSON serialization errors when using the CLI to perform some operations.

Function 0.0.24

16 Nov 11:13
2225d0b
Compare
Choose a tag to compare
  • Added Function client class to replace functions on individual API types.
  • Refactored Value.from_value method to fxn.predictions.from_value.
  • Refactored Value.to_value method to fxn.predictions.to_value.
  • Changed Parameter.default_value field type to Value.
  • Removed CloudPrediction class. Use Prediction class instead.
  • Removed EdgePrediction class. Use Prediction class instead.

Function 0.0.23

24 Sep 05:13
Compare
Choose a tag to compare
  • Added AccessMode.Protected enumeration member for working with protected predictors.
  • Added pydantic as an explicit dependency.

Function 0.0.22

31 Aug 20:52
Compare
Choose a tag to compare
  • Added Prediction.stream method for creating streaming predictions.