Skip to content

Commit 124f150

Browse files
Update deploy-models-cohere-embed.md
1 parent 84c67d3 commit 124f150

File tree

1 file changed

+10
-8
lines changed

1 file changed

+10
-8
lines changed

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

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,8 @@ These models can be consumed using the embed API.
111111

112112
## Embed API reference for Cohere Embed models deployed as a service
113113

114-
## V1/embeddings request
114+
## v1/embeddings
115+
### Request
115116

116117
```
117118
POST /v1/embeddings HTTP/1.1
@@ -120,15 +121,15 @@ These models can be consumed using the embed API.
120121
Content-type: application/json
121122
```
122123

123-
### V1/emebeddings request schema
124+
### v1/emebeddings request schema
124125

125126
Cohere Embed v3 - English and Embed v3 - Multilingual accept the following parameters for a `v1/embeddings` API call:
126127

127128
| Property | Type | Default | Description |
128129
| --- | --- | --- | --- |
129130
|`input` |`array of strings` |Required |An array of strings for the model to embed. Maximum number of texts per call is 96. We recommend reducing the length of each text to be under 512 tokens for optimal quality. |
130131

131-
### V1/emebeddings response schema
132+
### v1/emebeddings response schema
132133

133134
The response payload is a dictionary with the following fields:
134135

@@ -157,7 +158,7 @@ The `usage` object is a dictionary with the following fields:
157158
| `total_tokens` | `integer` | Total tokens. |
158159

159160

160-
## V1/embeddings examples
161+
## v1/embeddings examples
161162

162163
**Request**
163164

@@ -193,7 +194,8 @@ The `usage` object is a dictionary with the following fields:
193194
}
194195
```
195196

196-
## V1/embed request
197+
## v1/embed
198+
### Request
197199

198200
```
199201
POST /v1/embed HTTP/1.1
@@ -202,7 +204,7 @@ The `usage` object is a dictionary with the following fields:
202204
Content-type: application/json
203205
```
204206

205-
### V1/embed request schema
207+
### v1/embed request schema
206208

207209
Cohere Embed v3 - English and Embed v3 - Multilingual accept the following parameters for a `v1/embed` API call:
208210

@@ -213,7 +215,7 @@ Cohere Embed v3 - English and Embed v3 - Multilingual accept the following param
213215
|`truncate` |`enum string` |`NONE` |`NONE` – Returns an error when the input exceeds the maximum input token length. <br/> `START` – Discards the start of the input. <br/> `END` – Discards the end of the input. |
214216
|`embedding_types` |`array of strings` |`float` |Specifies the types of embeddings you want to get back. Can be one or more of the following types. `float`, `int8`, `uint8`, `binary`, `ubinary` |
215217

216-
### V1/embed response schema
218+
### v1/embed response schema
217219

218220
Cohere Embed v3 - English and Embed v3 - Multilingual include the following fields in the response:
219221

@@ -227,7 +229,7 @@ Cohere Embed v3 - English and Embed v3 - Multilingual include the following fiel
227229

228230
For more information, see [https://docs.cohere.com/reference/embed](https://docs.cohere.com/reference/embed).
229231

230-
## V1/embed examples
232+
## v1/embed examples
231233

232234
### embeddings_floats Response
233235

0 commit comments

Comments
 (0)