Skip to content

Commit 6c47a88

Browse files
committed
Fix github callout
1 parent ed79234 commit 6c47a88

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

readme.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)