From a0163dafce0bf2077317313c0f35e618ca1c905d Mon Sep 17 00:00:00 2001 From: "LocalAI [bot]" <139863280+localai-bot@users.noreply.github.com> Date: Tue, 25 Jun 2024 10:50:52 +0200 Subject: [PATCH] feat(swagger): update swagger (#2651) Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: mudler <2420543+mudler@users.noreply.github.com> --- swagger/docs.go | 4 ++++ swagger/swagger.json | 4 ++++ swagger/swagger.yaml | 3 +++ 3 files changed, 11 insertions(+) diff --git a/swagger/docs.go b/swagger/docs.go index f48b9661..4660c4f8 100644 --- a/swagger/docs.go +++ b/swagger/docs.go @@ -751,6 +751,10 @@ const docTemplate = `{ "description": "Common options between all the API calls, part of the OpenAI spec", "type": "number" }, + "translate": { + "description": "Only for audio transcription", + "type": "boolean" + }, "typical_p": { "type": "number" }, diff --git a/swagger/swagger.json b/swagger/swagger.json index 1eba0ff3..10a9120a 100644 --- a/swagger/swagger.json +++ b/swagger/swagger.json @@ -744,6 +744,10 @@ "description": "Common options between all the API calls, part of the OpenAI spec", "type": "number" }, + "translate": { + "description": "Only for audio transcription", + "type": "boolean" + }, "typical_p": { "type": "number" }, diff --git a/swagger/swagger.yaml b/swagger/swagger.yaml index db4ef52f..7fb7ee48 100644 --- a/swagger/swagger.yaml +++ b/swagger/swagger.yaml @@ -328,6 +328,9 @@ definitions: description: Common options between all the API calls, part of the OpenAI spec type: number + translate: + description: Only for audio transcription + type: boolean typical_p: type: number use_fast_tokenizer: