Slackbot
08/10/2023, 12:01 PMJian Shen Yap
08/10/2023, 6:00 PMdoc parameter
@svc.api(doc="my descriptions, ...)
def my_route():
...
or
@svc.api(...)
def my_route():
"""
my descriptions here
"""
...Jian Shen Yap
08/11/2023, 5:03 AMimport bentoml._internal.service.openapi as X
X.APP_TAG = X.Tag(name="My Own Services", description="BentoML App")Jaydeep Samanta
08/11/2023, 7:47 AMJaydeep Samanta
08/11/2023, 7:55 AM<http://0.0.0.0:3000/#/Service%20APIs/iris_classifier__classify>Jian Shen Yap
08/31/2023, 2:19 AMroute parameter that you can passed on the svc.api. otherwise, it will infer from the name of the functionJaydeep Samanta
08/31/2023, 10:21 AM