mirror of
https://github.com/mudler/LocalAI
synced 2026-04-21 13:27:21 +00:00
feat(swagger): update swagger (#9136)
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
b86fa63f70
commit
731176ce3a
3 changed files with 12 additions and 16 deletions
|
|
@ -1757,12 +1757,6 @@ const docTemplate = `{
|
|||
"b64_json": {
|
||||
"type": "string"
|
||||
},
|
||||
"embedding": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "number"
|
||||
}
|
||||
},
|
||||
"index": {
|
||||
"type": "integer"
|
||||
},
|
||||
|
|
@ -2446,6 +2440,10 @@ const docTemplate = `{
|
|||
"echo": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"encoding_format": {
|
||||
"description": "Embedding encoding format: \"float\" (default) or \"base64\" (OpenAI Node.js SDK default)",
|
||||
"type": "string"
|
||||
},
|
||||
"file": {
|
||||
"description": "whisper",
|
||||
"type": "string"
|
||||
|
|
|
|||
|
|
@ -1750,12 +1750,6 @@
|
|||
"b64_json": {
|
||||
"type": "string"
|
||||
},
|
||||
"embedding": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "number"
|
||||
}
|
||||
},
|
||||
"index": {
|
||||
"type": "integer"
|
||||
},
|
||||
|
|
@ -2439,6 +2433,10 @@
|
|||
"echo": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"encoding_format": {
|
||||
"description": "Embedding encoding format: \"float\" (default) or \"base64\" (OpenAI Node.js SDK default)",
|
||||
"type": "string"
|
||||
},
|
||||
"file": {
|
||||
"description": "whisper",
|
||||
"type": "string"
|
||||
|
|
|
|||
|
|
@ -498,10 +498,6 @@ definitions:
|
|||
properties:
|
||||
b64_json:
|
||||
type: string
|
||||
embedding:
|
||||
items:
|
||||
type: number
|
||||
type: array
|
||||
index:
|
||||
type: integer
|
||||
object:
|
||||
|
|
@ -950,6 +946,10 @@ definitions:
|
|||
type: integer
|
||||
echo:
|
||||
type: boolean
|
||||
encoding_format:
|
||||
description: 'Embedding encoding format: "float" (default) or "base64" (OpenAI
|
||||
Node.js SDK default)'
|
||||
type: string
|
||||
file:
|
||||
description: whisper
|
||||
type: string
|
||||
|
|
|
|||
Loading…
Reference in a new issue