File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -165,8 +165,8 @@ const { embeddings } = await embedMany<ImageEmbeddingInput>({
165165});
166166```
167167
168- > !note
169- > If you are getting error for image url not found, you can convert image to base64 and pass the base64 string to the image array.
168+ > [ !TIP ]
169+ > If you are getting error for image url not found, convert image to base64 and pass the base64 string to the image array.
170170> The value should be a Base64-encoded image in the data URL format data:[ <mediatype >] ;base64,<data >.
171171> Currently supported mediatypes are: image/png, image/jpeg, image/webp, and image/gif.
172172
@@ -197,7 +197,7 @@ const { embeddings } = await embedMany<MultimodalEmbeddingInput>({
197197});
198198```
199199
200- > !note
200+ > [ !NOTE ]
201201> The following constraints apply to the values list:
202202> The list must not contain more than 1,000 values.
203203> Each image must not contain more than 16 million pixels or be larger than 20 MB in size.
@@ -218,7 +218,7 @@ const { embeddings } = await embedMany<MultimodalEmbeddingInput>({
218218| voyage-law-2 | 16,000 | 1024 |
219219| voyage-code-2 | 16,000 | 1536 |
220220
221- > !note
221+ > [ !WARNING ]
222222> The older models are deprecated and will be removed in the future.
223223> Use the latest models instead.
224224> https://docs.voyageai.com/docs/embeddings
You can’t perform that action at this time.
0 commit comments