mirror of
https://github.com/mudler/LocalAI.git
synced 2026-03-31 13:15:51 -04: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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user