Skip to content

Commit 58698ce

Browse files
Adds Cohere completion example. (#4990) (#4996)
(cherry picked from commit c98011f) Co-authored-by: István Zoltán Szabó <szabosteve@gmail.com>
1 parent d54e694 commit 58698ce

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
summary: A completion task
2+
description: Run `PUT _inference/completion/cohere-completion` to create an inference endpoint that performs a completion task.
3+
method_request: 'PUT _inference/completion/cohere-completion'
4+
# type: "request"
5+
value: |-
6+
{
7+
"service": "cohere",
8+
"service_settings": {
9+
"api_key": "Cohere-API-key",
10+
"model_id": "command-a-03-2025"
11+
}
12+
}

0 commit comments

Comments
 (0)