mirror of
https://github.com/mudler/LocalAI.git
synced 2024-12-19 20:57:54 +00:00
feat(swagger): update swagger (#2436)
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
b2fc92daa7
commit
0c40f545d4
@ -476,14 +476,6 @@ const docTemplate = `{
|
|||||||
"Function"
|
"Function"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"schema.ChatCompletionResponseFormat": {
|
|
||||||
"type": "object",
|
|
||||||
"properties": {
|
|
||||||
"type": {
|
|
||||||
"type": "string"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"schema.Choice": {
|
"schema.Choice": {
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
@ -677,12 +669,7 @@ const docTemplate = `{
|
|||||||
"type": "number"
|
"type": "number"
|
||||||
},
|
},
|
||||||
"response_format": {
|
"response_format": {
|
||||||
"description": "whisper/image",
|
"description": "whisper/image"
|
||||||
"allOf": [
|
|
||||||
{
|
|
||||||
"$ref": "#/definitions/schema.ChatCompletionResponseFormat"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
},
|
},
|
||||||
"rope_freq_base": {
|
"rope_freq_base": {
|
||||||
"type": "number"
|
"type": "number"
|
||||||
|
@ -469,14 +469,6 @@
|
|||||||
"Function"
|
"Function"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"schema.ChatCompletionResponseFormat": {
|
|
||||||
"type": "object",
|
|
||||||
"properties": {
|
|
||||||
"type": {
|
|
||||||
"type": "string"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"schema.Choice": {
|
"schema.Choice": {
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
@ -670,12 +662,7 @@
|
|||||||
"type": "number"
|
"type": "number"
|
||||||
},
|
},
|
||||||
"response_format": {
|
"response_format": {
|
||||||
"description": "whisper/image",
|
"description": "whisper/image"
|
||||||
"allOf": [
|
|
||||||
{
|
|
||||||
"$ref": "#/definitions/schema.ChatCompletionResponseFormat"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
},
|
},
|
||||||
"rope_freq_base": {
|
"rope_freq_base": {
|
||||||
"type": "number"
|
"type": "number"
|
||||||
|
@ -163,11 +163,6 @@ definitions:
|
|||||||
- CodeInterpreter
|
- CodeInterpreter
|
||||||
- Retrieval
|
- Retrieval
|
||||||
- Function
|
- Function
|
||||||
schema.ChatCompletionResponseFormat:
|
|
||||||
properties:
|
|
||||||
type:
|
|
||||||
type: string
|
|
||||||
type: object
|
|
||||||
schema.Choice:
|
schema.Choice:
|
||||||
properties:
|
properties:
|
||||||
delta:
|
delta:
|
||||||
@ -300,8 +295,6 @@ definitions:
|
|||||||
repeat_penalty:
|
repeat_penalty:
|
||||||
type: number
|
type: number
|
||||||
response_format:
|
response_format:
|
||||||
allOf:
|
|
||||||
- $ref: '#/definitions/schema.ChatCompletionResponseFormat'
|
|
||||||
description: whisper/image
|
description: whisper/image
|
||||||
rope_freq_base:
|
rope_freq_base:
|
||||||
type: number
|
type: number
|
||||||
|
Loading…
Reference in New Issue
Block a user