github bentoml/BentoML 0.2.2-beta
BentoML-0.2.2 Beta

latest releases: v1.3.13, v1.3.12, v1.3.11...
pre-release5 years ago
class MyClassifier(BentoService):

    @api(DataframeHandler, input_types=['int8', 'int8', 'float', 'str', 'bool'])
    def predict(self, df):
        ...

    # or specifying both column name & type:
    @api(DataframeHandler, input_types={'id': 'string', 'age': 'int' })
    def predict(self, df):
        ...
  • API server index page now provides web UI for testing API endpoints and shows instructions for how to generate Client API library:

image

image

Don't miss a new BentoML release

NewReleases is sending notifications on new releases.