From 026bf04e0dde03ae24dc5805735b413968d8cf86 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 14:58:37 +0200 Subject: [PATCH] Adds Cohere completion eample. --- .../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" + } + }