mirror of
https://github.com/mudler/LocalAI.git
synced 2026-04-16 12:59:33 -04:00
feat(swagger): update swagger (#9356)
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:
@@ -1502,6 +1502,28 @@ const docTemplate = `{
|
||||
"name": "file",
|
||||
"in": "formData",
|
||||
"required": true
|
||||
},
|
||||
{
|
||||
"type": "number",
|
||||
"description": "sampling temperature",
|
||||
"name": "temperature",
|
||||
"in": "formData"
|
||||
},
|
||||
{
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"collectionFormat": "csv",
|
||||
"description": "timestamp granularities (word, segment)",
|
||||
"name": "timestamp_granularities",
|
||||
"in": "formData"
|
||||
},
|
||||
{
|
||||
"type": "boolean",
|
||||
"description": "stream partial results as SSE",
|
||||
"name": "stream",
|
||||
"in": "formData"
|
||||
}
|
||||
],
|
||||
"responses": {
|
||||
|
||||
@@ -1499,6 +1499,28 @@
|
||||
"name": "file",
|
||||
"in": "formData",
|
||||
"required": true
|
||||
},
|
||||
{
|
||||
"type": "number",
|
||||
"description": "sampling temperature",
|
||||
"name": "temperature",
|
||||
"in": "formData"
|
||||
},
|
||||
{
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"collectionFormat": "csv",
|
||||
"description": "timestamp granularities (word, segment)",
|
||||
"name": "timestamp_granularities",
|
||||
"in": "formData"
|
||||
},
|
||||
{
|
||||
"type": "boolean",
|
||||
"description": "stream partial results as SSE",
|
||||
"name": "stream",
|
||||
"in": "formData"
|
||||
}
|
||||
],
|
||||
"responses": {
|
||||
|
||||
@@ -2693,6 +2693,21 @@ paths:
|
||||
name: file
|
||||
required: true
|
||||
type: file
|
||||
- description: sampling temperature
|
||||
in: formData
|
||||
name: temperature
|
||||
type: number
|
||||
- collectionFormat: csv
|
||||
description: timestamp granularities (word, segment)
|
||||
in: formData
|
||||
items:
|
||||
type: string
|
||||
name: timestamp_granularities
|
||||
type: array
|
||||
- description: stream partial results as SSE
|
||||
in: formData
|
||||
name: stream
|
||||
type: boolean
|
||||
responses:
|
||||
"200":
|
||||
description: Response
|
||||
|
||||
Reference in New Issue
Block a user