From 064847603e29a8456f1b22e2f8983bf7aea729ce Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Istv=C3=A1n=20Zolt=C3=A1n=20Szab=C3=B3?= Date: Mon, 21 Jul 2025 16:56:19 +0200 Subject: [PATCH] Adds Cohere completion example. (#4990) (cherry picked from commit c98011f7637fee841bfae52dcbaf4a9a39d41964) --- .../examples/request/PutCohereRequestExample3.yaml | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 specification/inference/put_cohere/examples/request/PutCohereRequestExample3.yaml diff --git a/specification/inference/put_cohere/examples/request/PutCohereRequestExample3.yaml b/specification/inference/put_cohere/examples/request/PutCohereRequestExample3.yaml new file mode 100644 index 0000000000..78428cee54 --- /dev/null +++ b/specification/inference/put_cohere/examples/request/PutCohereRequestExample3.yaml @@ -0,0 +1,12 @@ +summary: A completion task +description: Run `PUT _inference/completion/cohere-completion` to create an inference endpoint that performs a completion task. +method_request: 'PUT _inference/completion/cohere-completion' +# type: "request" +value: |- + { + "service": "cohere", + "service_settings": { + "api_key": "Cohere-API-key", + "model_id": "command-a-03-2025" + } + }