-
Fast.ai support is in beta now, check out the example notebook here: https://colab.research.google.com/github/bentoml/gallery/blob/master/fast-ai/pet-classification/notebook.ipynb
-
Improved OpenAPI docs endpoint:
-
DataframeHandler allows specifying input types now - users can also generate API Client library that respects the expected input format for each BentoML API service user defined, e.g.:
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: