Spaces:
Sleeping
Sleeping
File size: 7,123 Bytes
d8d26b1 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 |
components:
schemas:
InternalServerError:
description: Internal Server Error
properties:
msg:
title: Message
type: string
type:
title: Error Type
type: string
required:
- msg
- type
title: InternalServerError
type: object
InvalidArgument:
description: Bad Request
properties:
msg:
title: Message
type: string
type:
title: Error Type
type: string
required:
- msg
- type
title: InvalidArgument
type: object
NotFound:
description: Not Found
properties:
msg:
title: Message
type: string
type:
title: Error Type
type: string
required:
- msg
- type
title: NotFound
type: object
info:
contact:
email: [email protected]
name: BentoML Team
description: "# speech_to_text_pipeline:None\n\n[![pypi_status](https://img.shields.io/badge/BentoML-1.0.20-informational)](https://pypi.org/project/BentoML)\n\
[![documentation_status](https://readthedocs.org/projects/bentoml/badge/?version=latest)](https://docs.bentoml.org/)\n\
[![join_slack](https://badgen.net/badge/Join/BentoML%20Slack/cyan?icon=slack)](https://l.bentoml.com/join-slack-swagger)\n\
[![BentoML GitHub Repo](https://img.shields.io/github/stars/bentoml/bentoml?style=social)](https://github.com/bentoml/BentoML)\n\
[![Twitter Follow](https://img.shields.io/twitter/follow/bentomlai?label=Follow%20BentoML&style=social)](https://twitter.com/bentomlai)\n\
\nThis is a Machine Learning Service created with BentoML.\n| InferenceAPI | Input\
\ | Output |\n| ------------ | ----- | ------ |\n| POST [`/process_uploaded_file`](#operations-Service_APIs-speech_to_text_pipeline__process_uploaded_file)\
\ | BytesIOFile | JSON |\n| POST [`/zip_transcription`](#operations-Service_APIs-speech_to_text_pipeline__zip_transcription)\
\ | JSON | BytesIOFile |\n\n\n\n\n## Help\n\n* [\U0001F4D6 Documentation](https://docs.bentoml.org/en/latest/):\
\ Learn how to use BentoML.\n* [\U0001F4AC Community](https://l.bentoml.com/join-slack-swagger):\
\ Join the BentoML Slack community.\n* [\U0001F41B GitHub Issues](https://github.com/bentoml/BentoML/issues):\
\ Report bugs and feature requests.\n* Tip: you can also [customize this README](https://docs.bentoml.org/en/latest/concepts/bento.html#description).\n"
title: speech_to_text_pipeline
version: None
openapi: 3.0.2
paths:
/healthz:
get:
description: Health check endpoint. Expecting an empty response with status
code <code>200</code> when the service is in health state. The <code>/healthz</code>
endpoint is <b>deprecated</b>. (since Kubernetes v1.16)
responses:
'200':
description: Successful Response
tags:
- Infrastructure
/livez:
get:
description: Health check endpoint for Kubernetes. Healthy endpoint responses
with a <code>200</code> OK status.
responses:
'200':
description: Successful Response
tags:
- Infrastructure
/metrics:
get:
description: Prometheus metrics endpoint. The <code>/metrics</code> responses
with a <code>200</code>. The output can then be used by a Prometheus sidecar
to scrape the metrics of the service.
responses:
'200':
description: Successful Response
tags:
- Infrastructure
/process_uploaded_file:
post:
consumes:
- null
description: ''
operationId: speech_to_text_pipeline__process_uploaded_file
produces:
- application/json
requestBody:
content:
'*/*':
schema:
format: binary
type: string
required: true
x-bentoml-io-descriptor:
args:
kind: binaryio
mime_type: null
id: bentoml.io.File
responses:
200:
content:
application/json:
schema:
type: object
description: Successful Response
x-bentoml-io-descriptor:
args:
has_json_encoder: true
has_pydantic_model: false
id: bentoml.io.JSON
400:
content:
application/json:
schema:
$ref: '#/components/schemas/InvalidArgument'
description: Bad Request
404:
content:
application/json:
schema:
$ref: '#/components/schemas/NotFound'
description: Not Found
500:
content:
application/json:
schema:
$ref: '#/components/schemas/InternalServerError'
description: Internal Server Error
summary: "InferenceAPI(BytesIOFile \u2192 JSON)"
tags:
- Service APIs
x-bentoml-name: process_uploaded_file
/readyz:
get:
description: A <code>200</code> OK status from <code>/readyz</code> endpoint
indicated the service is ready to accept traffic. From that point and onward,
Kubernetes will use <code>/livez</code> endpoint to perform periodic health
checks.
responses:
'200':
description: Successful Response
tags:
- Infrastructure
/zip_transcription:
post:
consumes:
- application/json
description: ''
operationId: speech_to_text_pipeline__zip_transcription
produces:
- null
requestBody:
content:
application/json:
schema:
type: object
required: true
x-bentoml-io-descriptor:
args:
has_json_encoder: true
has_pydantic_model: false
id: bentoml.io.JSON
responses:
200:
content:
'*/*':
schema:
format: binary
type: string
description: Successful Response
x-bentoml-io-descriptor:
args:
kind: binaryio
mime_type: null
id: bentoml.io.File
400:
content:
application/json:
schema:
$ref: '#/components/schemas/InvalidArgument'
description: Bad Request
404:
content:
application/json:
schema:
$ref: '#/components/schemas/NotFound'
description: Not Found
500:
content:
application/json:
schema:
$ref: '#/components/schemas/InternalServerError'
description: Internal Server Error
summary: "InferenceAPI(JSON \u2192 BytesIOFile)"
tags:
- Service APIs
x-bentoml-name: zip_transcription
servers:
- url: .
tags:
- description: BentoML Service API endpoints for inference.
name: Service APIs
- description: Common infrastructure endpoints for observability.
name: Infrastructure
|