-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Adding modalities * Testing markdown changes. * Testing markdown changes. * Testing markdown changes. * Testing markdown changes. * Testing markdown changes. * Changing the embedding table. * Adding the command model tables. * Adding the rerank model tables. * Updating the embeddings doc. * Adding imports to the new code snippet, so as to avoid excoriation from Michael. * Fixing a typo. * added release notes * added the guide for multimodal embeddings * add IA * add IA to yamlv2 * rerank table not rendering. * Adding modalities columns. * changed the date for multimodal embed and added webp and gif support to docs * added to release notes * Adding information to the AWS Sagemaker page. * Adding information to the Azure page. * Fixing a link, a typo. * Shortened metadescription. * Adding a description to the changelog. --------- Signed-off-by: trentfowlercohere <[email protected]> Co-authored-by: Trent Fowler <[email protected]> Co-authored-by: mahjongmen <[email protected]>
- Loading branch information
1 parent
90b6c5e
commit 1646b04
Showing
14 changed files
with
241 additions
and
73 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
36 changes: 36 additions & 0 deletions
36
fern/pages/changelog/2024-10-22-Embed-v3-is-multimodal.mdx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
--- | ||
title: "Embed v3.0 Models are now Multimodal" | ||
slug: "changelog/embed-v3-is-multimodal" | ||
createdAt: "Tues Oct 22 2024 05:30:00 (MST)" | ||
hidden: false | ||
description: >- | ||
Launch of multimodal embeddings for our Embed models, plus some code to help get started. | ||
--- | ||
|
||
Today we’re announcing updates to our embed-v3.0 family of models. These models now have the ability to process images into embeddings. There is no change to existing text capabilities which means there is no need to re-embed texts you have already processed with our `embed-v3.0` models. | ||
|
||
In the rest of these release notes, we’ll provide more details about technical enhancements, new features, and new pricing. | ||
|
||
## Technical Details | ||
### API Changes: | ||
The Embed API has two major changes: | ||
- Introduced a new `input_type` called `image` | ||
- Introduced a new parameter called `images` | ||
|
||
Example request on how to process | ||
|
||
```Text cURL | ||
POST https://api.cohere.ai/v1/embed | ||
{ | ||
"model": "embed-multilingual-v3.0", | ||
"input_type": "image", | ||
"embedding_types": ["float"], | ||
"images": [enc_img] | ||
} | ||
``` | ||
### Restrictions: | ||
- The API only accepts images in the base format of the following: `png`, `jpeg`,`Webp`, and `gif` | ||
- Image embeddings currently does not support batching so the max images sent per request is 1 | ||
- The maximum image sizez is `5mb` | ||
- The `images` parameter only accepts a base64 encoded image formatted as a Data Url | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.