mirror of
https://github.com/mudler/LocalAI.git
synced 2026-07-30 01:48:06 -04:00
feat(swagger): update swagger (#11149)
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:
committed by
GitHub
parent
2ecf893c6c
commit
12f2e1b99c
@@ -6897,6 +6897,10 @@ const docTemplate = `{
|
||||
"description": "(optional) desired output sample rate",
|
||||
"type": "integer"
|
||||
},
|
||||
"speed": {
|
||||
"description": "Speed is the OpenAI ` + "`" + `speed` + "`" + ` field (0.25-4.0). It is a pointer so an\nexplicit ` + "`" + `\"speed\": 0` + "`" + ` (invalid, rejected with 400) is distinguishable\nfrom an omitted field (left at the backend default). It is normalised\ninto Params[\"speed\"] so it reaches the backend over the same channel as\nthe other per-request generation parameters.",
|
||||
"type": "number"
|
||||
},
|
||||
"stream": {
|
||||
"description": "(optional) enable streaming TTS",
|
||||
"type": "boolean"
|
||||
|
||||
@@ -6894,6 +6894,10 @@
|
||||
"description": "(optional) desired output sample rate",
|
||||
"type": "integer"
|
||||
},
|
||||
"speed": {
|
||||
"description": "Speed is the OpenAI `speed` field (0.25-4.0). It is a pointer so an\nexplicit `\"speed\": 0` (invalid, rejected with 400) is distinguishable\nfrom an omitted field (left at the backend default). It is normalised\ninto Params[\"speed\"] so it reaches the backend over the same channel as\nthe other per-request generation parameters.",
|
||||
"type": "number"
|
||||
},
|
||||
"stream": {
|
||||
"description": "(optional) enable streaming TTS",
|
||||
"type": "boolean"
|
||||
|
||||
@@ -2336,6 +2336,14 @@ definitions:
|
||||
sample_rate:
|
||||
description: (optional) desired output sample rate
|
||||
type: integer
|
||||
speed:
|
||||
description: |-
|
||||
Speed is the OpenAI `speed` field (0.25-4.0). It is a pointer so an
|
||||
explicit `"speed": 0` (invalid, rejected with 400) is distinguishable
|
||||
from an omitted field (left at the backend default). It is normalised
|
||||
into Params["speed"] so it reaches the backend over the same channel as
|
||||
the other per-request generation parameters.
|
||||
type: number
|
||||
stream:
|
||||
description: (optional) enable streaming TTS
|
||||
type: boolean
|
||||
|
||||
Reference in New Issue
Block a user