feat(swagger): update swagger

Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
This commit is contained in:
mudler 2025-02-02 20:02:49 +00:00 committed by github-actions[bot]
parent 03974a4dd4
commit 043b11cbd3
3 changed files with 58 additions and 0 deletions

View file

@ -705,6 +705,13 @@ definitions:
description: voice audio file or speaker id
type: string
type: object
schema.TokenizeRequest:
properties:
content:
type: string
model:
type: string
type: object
schema.TokenizeResponse:
properties:
tokens:
@ -1216,6 +1223,13 @@ paths:
summary: Get TokenMetrics for Active Slot.
/v1/tokenize:
post:
parameters:
- description: Request
in: body
name: request
required: true
schema:
$ref: '#/definitions/schema.TokenizeRequest'
responses:
"200":
description: Response