Marengo 2.7 will be deprecated. Embeddings created with Marengo 2.7 are not compatible with Marengo 3.0. You must migrate to Marengo 3.0 and regenerate all your embeddings.
Marengo 3.0 introduces the following key changes to how you invoke the model:
inputType parameter.text_image input type.embedding_options now uses different values to specify which types of embeddings to retrieve.Update your code to use the new structure and the parameter changes. For details see the Structural changes and Parameter changes sections below.
Marengo 3.0 uses a nested structure for all input types. To organize your input parameters, place them inside an object that corresponds to the value of the inputType parameter. For example, if you set inputType to text, you should nest your inputText parameter within an object called text. This structure applies to all input types, including text, image, video, audio, and text_image. The examples below illustrate the differences in structure between Marengo 2.7 and Marengo 3.0 for each input type.
Marengo 2.7 structure:
Marengo 3.0 structure:
Marengo 2.7 structure:
Marengo 3.0 structure:
Marengo 2.7 structure: Not supported. You must create separate embeddings.
Marengo 3.0 structure:
Marengo 2.7 structure:
Marengo 3.0 structure:
Marengo 2.7 structure:
Marengo 3.0 structure:
Marengo 2.7 structure:
Marengo 3.0 structure:
Marengo 2.7 structure:
Marengo 3.0 structure:
Marengo 2.7 structure: Not supported. You must create separate embeddings.
Marengo 3.0 structure:
Marengo 3.0 changes the valid values for the embedding_options parameter. This parameter specifies which types of embeddings to retrieve.
Marengo 2.7 values:
visual-text: Visual embeddings optimized for text searchvisual-image: Visual embeddings optimized for image searchaudio: Embeddings of the audio in the videoMarengo 3.0 values:
visual: Visual embeddings from the videoaudio: Embeddings of the audio in the videotranscription: Embeddings of the transcribed textMarengo 3.0 introduces additional parameter changes beyond those documented in this guide. For a complete list of request parameters and response fields, see the TwelveLabs Marengo Embed 3.0 page in the AWS Bedrock documentation.