File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
articles/ai-studio/how-to Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -161,17 +161,18 @@ Cohere Command R and Command R+ accept the following parameters for a `v1/chat/c
161
161
162
162
` response_format ` and ` tool_choice ` aren't yet supported parameters for the Command R and Command R+ models.
163
163
164
- <br />
165
164
166
165
#### System or user message
167
166
A System or User Message supports the following properties:
167
+
168
168
| Property | Type | Default | Description |
169
169
| --- | --- | --- | --- |
170
170
| ` role ` | ` enum ` | Required | ` role=system ` or ` role=user ` . |
171
171
| ` content ` | ` string ` | Required | Text input for the model to respond to. |
172
172
173
173
#### Assistant message
174
174
An Assistant Message supports the following properties:
175
+
175
176
| Property | Type | Default | Description |
176
177
| --- | --- | --- | --- |
177
178
| ` role ` | ` enum ` | Required | ` role=assistant ` |
@@ -180,13 +181,13 @@ An Assistant Message supports the following properties:
180
181
181
182
#### Tool message
182
183
A Tool Message supports the following properties:
184
+
183
185
| Property | Type | Default | Description |
184
186
| --- | --- | --- | --- |
185
187
| ` role ` | ` enum ` | Required | ` role=tool ` |
186
188
| ` content ` | ` string ` | Required | The contents of the tool message. |
187
189
| ` tool_call_id ` | ` string ` | None | Tool call that this message is responding to. |
188
190
189
- <br />
190
191
191
192
### v1/chat/completions response schema
192
193
You can’t perform that action at this time.
0 commit comments