From 8fdfad4d78cdeca8776863849cac431b20e031b2 Mon Sep 17 00:00:00 2001 From: Ben Morss Date: Thu, 11 Dec 2025 14:00:09 +0100 Subject: [PATCH] Add model_type parameter for /translate Added 'model_type' parameter to specify translation model options. --- .../DeepL/apiDefinition.swagger.json | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/certified-connectors/DeepL/apiDefinition.swagger.json b/certified-connectors/DeepL/apiDefinition.swagger.json index 95759d0806..325f24d8fa 100644 --- a/certified-connectors/DeepL/apiDefinition.swagger.json +++ b/certified-connectors/DeepL/apiDefinition.swagger.json @@ -181,6 +181,18 @@ "description": "Specify the glossary to use for the translation", "type": "string" }, + { + "in": "formData", + "name": "model_type", + "x-ms-summary": "Model Type", + "description": "Sets which type of model to use for the translation", + "type": "string", + "enum": [ + "quality_optimized", + "prefer_quality_optimized", + "latency_optimized" + ] + }, { "in": "formData", "name": "tag_handling",