mirror of
https://github.com/mudler/LocalAI.git
synced 2025-06-01 08:25:00 +00:00
feat(swagger): update swagger (#4735)
Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: mudler <2420543+mudler@users.noreply.github.com>
This commit is contained in:
parent
a37fa8d9c4
commit
52fadeded1
3 changed files with 58 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue