mirror of
https://github.com/mudler/LocalAI.git
synced 2025-02-12 13:45:18 +00:00
feat(swagger): update swagger (#4625)
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
cbdbe59f16
commit
895cd7c76a
@ -1752,6 +1752,13 @@ const docTemplate = `{
|
|||||||
"prompt_tokens": {
|
"prompt_tokens": {
|
||||||
"type": "integer"
|
"type": "integer"
|
||||||
},
|
},
|
||||||
|
"timing_prompt_processing": {
|
||||||
|
"description": "Extra timing data, disabled by default as is't not a part of OpenAI specification",
|
||||||
|
"type": "number"
|
||||||
|
},
|
||||||
|
"timing_token_generation": {
|
||||||
|
"type": "number"
|
||||||
|
},
|
||||||
"total_tokens": {
|
"total_tokens": {
|
||||||
"type": "integer"
|
"type": "integer"
|
||||||
}
|
}
|
||||||
|
@ -1745,6 +1745,13 @@
|
|||||||
"prompt_tokens": {
|
"prompt_tokens": {
|
||||||
"type": "integer"
|
"type": "integer"
|
||||||
},
|
},
|
||||||
|
"timing_prompt_processing": {
|
||||||
|
"description": "Extra timing data, disabled by default as is't not a part of OpenAI specification",
|
||||||
|
"type": "number"
|
||||||
|
},
|
||||||
|
"timing_token_generation": {
|
||||||
|
"type": "number"
|
||||||
|
},
|
||||||
"total_tokens": {
|
"total_tokens": {
|
||||||
"type": "integer"
|
"type": "integer"
|
||||||
}
|
}
|
||||||
|
@ -646,6 +646,12 @@ definitions:
|
|||||||
type: integer
|
type: integer
|
||||||
prompt_tokens:
|
prompt_tokens:
|
||||||
type: integer
|
type: integer
|
||||||
|
timing_prompt_processing:
|
||||||
|
description: Extra timing data, disabled by default as is't not a part of
|
||||||
|
OpenAI specification
|
||||||
|
type: number
|
||||||
|
timing_token_generation:
|
||||||
|
type: number
|
||||||
total_tokens:
|
total_tokens:
|
||||||
type: integer
|
type: integer
|
||||||
type: object
|
type: object
|
||||||
|
Loading…
x
Reference in New Issue
Block a user