Skip to content

Commit 84c67d3

Browse files
Update deploy-models-cohere-command.md
1 parent d97895b commit 84c67d3

File tree

1 file changed

+8
-7
lines changed

1 file changed

+8
-7
lines changed

articles/ai-studio/how-to/deploy-models-cohere-command.md

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -133,16 +133,16 @@ These models can be consumed using the chat API.
133133

134134
## Chat API reference for Cohere models deployed as a service
135135

136-
## v1/chat/completions Request
137-
136+
## v1/chat/completions
137+
### Request
138138
```
139139
POST /v1/chat/completions HTTP/1.1
140140
Host: <DEPLOYMENT_URI>
141141
Authorization: Bearer <TOKEN>
142142
Content-type: application/json
143143
```
144144

145-
### V1/chat/completions request schema
145+
### v1/chat/completions request schema
146146

147147
Cohere Command R and Command R+ accept the following parameters for a `v1/chat/completions` response inference call:
148148

@@ -188,7 +188,7 @@ A Tool Message supports the following properties:
188188

189189
<br/>
190190

191-
### V1/chat/completions response schema
191+
### v1/chat/completions response schema
192192

193193
The response payload is a dictionary with the following fields:
194194

@@ -275,7 +275,8 @@ The `usage` object is a dictionary with the following fields:
275275
}
276276
```
277277

278-
## V1/chat request
278+
## v1/chat
279+
## Request
279280

280281
```
281282
POST /v1/chat HTTP/1.1
@@ -284,7 +285,7 @@ The `usage` object is a dictionary with the following fields:
284285
Content-type: application/json
285286
```
286287

287-
### V1/chat request schema
288+
### v1/chat request schema
288289

289290
Cohere Command R and Command R+ accept the following parameters for a `v1/chat` response inference call:
290291

@@ -322,7 +323,7 @@ The `documents` object has the following optional fields:
322323
|`id` |`string` |`None` |Can be supplied to identify the document in the citations. This field isn't passed to the model. |
323324
|`_excludes` |`array of strings` |`None`| Can be optionally supplied to omit some key-value pairs from being shown to the model. The omitted fields still show up in the citation object. The `_excludes` field isn't passed to the model. |
324325

325-
### V1/chat response schema
326+
### v1/chat response schema
326327

327328
Response fields are fully documented on [Cohere's Chat API reference](https://docs.cohere.com/reference/chat). The response object always contains:
328329

0 commit comments

Comments
 (0)