

Les traductions sont fournies par des outils de traduction automatique. En cas de conflit entre le contenu d'une traduction et celui de la version originale en anglais, la version anglaise prévaudra.

# Titan Multimodal Embeddings G1
<a name="model-card-amazon-titan-multimodal-embeddings-g1"></a>

## ![Logo Amazon avec flèche incurvée de A à Z formant un sourire.](http://docs.aws.amazon.com/fr_fr/bedrock/latest/userguide/images/models/nova2pro.png) Intégration multimodale Amazon — Titan G1
<a name="model-card-amazon-titan-multimodal-embeddings-g1-header"></a>

## Détails du modèle
<a name="model-card-amazon-titan-multimodal-embeddings-g1-details"></a>

Titan Multimodal Embeddings G1 est le modèle d'Amazon qui génère des intégrations à partir de texte et d'images pour des cas d'utilisation de recherche et de recommandation multimodales. Pour plus d'informations sur le développement et les performances des modèles, consultez la [ model/service fiche](ai/responsible-ai/titan-text-embeddings/overview.html).
+ **Date de lancement du modèle : 29 ** novembre 2023
+ **Date de fin de vie du modèle : ** Pas plus tôt que 2024 11/29
+ **Contrats de licence utilisateur final et conditions d'utilisation : ** [ Afficher ](https://aws.amazon.com/legal/bedrock/third-party-models/)
+ **Cycle de vie du modèle : ** actif


| **Modalités de saisie ** | **Modalités de sortie ** | **[API prises en charge ](bedrock/latest/userguide/apis.html) ** | **[Points de terminaison pris en charge ](bedrock/latest/userguide/endpoints.html) ** | 
| --- | --- | --- | --- | 
| ![Red circle with white X icon indicating error, cancel, or close action.](http://docs.aws.amazon.com/fr_fr/bedrock/latest/userguide/images/icons/icon-no.png)Audio | ![Green circle with white checkmark icon.](http://docs.aws.amazon.com/fr_fr/bedrock/latest/userguide/images/icons/icon-yes.png)Insertion | ![Red circle with white X icon indicating error, cancel, or close action.](http://docs.aws.amazon.com/fr_fr/bedrock/latest/userguide/images/icons/icon-no.png) Responses | ![Green circle with white checkmark icon.](http://docs.aws.amazon.com/fr_fr/bedrock/latest/userguide/images/icons/icon-yes.png) bedrock-runtime | 
| ![Green circle with white checkmark icon.](http://docs.aws.amazon.com/fr_fr/bedrock/latest/userguide/images/icons/icon-yes.png)Image | ![Red circle with white X icon indicating error, cancel, or close action.](http://docs.aws.amazon.com/fr_fr/bedrock/latest/userguide/images/icons/icon-no.png)Image | ![Red circle with white X icon indicating error, cancel, or close action.](http://docs.aws.amazon.com/fr_fr/bedrock/latest/userguide/images/icons/icon-no.png) Chat Completions | ![Red circle with white X icon indicating error, cancel, or close action.](http://docs.aws.amazon.com/fr_fr/bedrock/latest/userguide/images/icons/icon-no.png) bedrock-mantle | 
| ![Red circle with white X icon indicating error, cancel, or close action.](http://docs.aws.amazon.com/fr_fr/bedrock/latest/userguide/images/icons/icon-no.png)Discours | ![Red circle with white X icon indicating error, cancel, or close action.](http://docs.aws.amazon.com/fr_fr/bedrock/latest/userguide/images/icons/icon-no.png)Discours | ![Green circle with white checkmark icon.](http://docs.aws.amazon.com/fr_fr/bedrock/latest/userguide/images/icons/icon-yes.png) Invoke |  | 
| ![Green circle with white checkmark icon.](http://docs.aws.amazon.com/fr_fr/bedrock/latest/userguide/images/icons/icon-yes.png)Texte | ![Red circle with white X icon indicating error, cancel, or close action.](http://docs.aws.amazon.com/fr_fr/bedrock/latest/userguide/images/icons/icon-no.png)Texte | ![Red circle with white X icon indicating error, cancel, or close action.](http://docs.aws.amazon.com/fr_fr/bedrock/latest/userguide/images/icons/icon-no.png) Converse |  | 
| ![Red circle with white X icon indicating error, cancel, or close action.](http://docs.aws.amazon.com/fr_fr/bedrock/latest/userguide/images/icons/icon-no.png)Vidéo | ![Red circle with white X icon indicating error, cancel, or close action.](http://docs.aws.amazon.com/fr_fr/bedrock/latest/userguide/images/icons/icon-no.png)Vidéo |  |  | 

**Astuce**  
Dans la mesure du possible, nous vous recommandons d'utiliser le `bedrock-runtime` point de terminaison pour les nouvelles applications. Consultez [Points de terminaison pris en charge par Amazon Bedrock](endpoints.md) pour plus de détails.

## Tarification
<a name="model-card-amazon-titan-multimodal-embeddings-g1-pricing"></a>

Pour plus d'informations sur les tarifs, consultez la [ page de tarification d'](https://aws.amazon.com/bedrock/pricing/)Amazon Bedrock.

## Accès programmatique
<a name="model-card-amazon-titan-multimodal-embeddings-g1-programmatic-access"></a>

Utilisez les ID de modèle et les URL de point de terminaison suivants pour accéder à ce modèle par programmation. Pour plus d'informations sur les API et les points de terminaison disponibles, consultez les sections [ API prises en charge ](bedrock/latest/userguide/apis.html) et Points de [ terminaison pris en charge. ](bedrock/latest/userguide/endpoints.html)


| **Point de terminaison** | **ID du modèle ** | **In-Region URL du terminal ** | **ID d'inférence géographique ** | **ID d'inférence global ** | 
| --- | --- | --- | --- | --- | 
| bedrock-runtime | amazon.titan-embed-image-v1 | https://bedrock-runtime.{region}.amazonaws.com | Non pris en charge | Non pris en charge | 

*Par exemple, si la région est us-east-1 (Virginie du Nord), l'URL du point de terminaison du temps d'exécution du socle sera « » et celle du manteau rocheux sera https://bedrock-runtime.us-east-1.amazonaws.com « ». https://bedrock-mantle.us-east-1.api.aws/v1 *

## Niveaux de service
<a name="model-card-amazon-titan-multimodal-embeddings-g1-tiers"></a>

Amazon Bedrock propose plusieurs niveaux de service pour répondre à vos exigences en matière de charge de travail. **Standard ** fournit un accès au paiement par jeton sans engagement (définissez `"service_tier": "default"` ou omettez le champ). **Priority ** offre les temps de réponse les plus rapides pour un prix plus élevé (fixe`"service_tier": "priority"`). **Flex ** fournit un accès à moindre coût pour des charges de travail flexibles et non sensibles au facteur temps (set). `"service_tier": "flex"` **Reserved ** fournit un débit dédié assorti d'un engagement à terme pour des charges de travail prévisibles ; il est défini au niveau du compte plutôt que par demande (contactez l'équipe responsable de votre compte AWS pour l'activer). Pour plus d'informations, consultez la section Niveaux [ de service](bedrock/latest/userguide/service-tiers-inference.html).


| **Standard** | **Priorité** | **Flexible ** | **Réservé ** | 
| --- | --- | --- | --- | 
| ![Green circle with white checkmark icon.](http://docs.aws.amazon.com/fr_fr/bedrock/latest/userguide/images/icons/icon-yes.png) | ![Red circle with white X icon indicating error, cancel, or close action.](http://docs.aws.amazon.com/fr_fr/bedrock/latest/userguide/images/icons/icon-no.png) | ![Red circle with white X icon indicating error, cancel, or close action.](http://docs.aws.amazon.com/fr_fr/bedrock/latest/userguide/images/icons/icon-no.png) | ![Red circle with white X icon indicating error, cancel, or close action.](http://docs.aws.amazon.com/fr_fr/bedrock/latest/userguide/images/icons/icon-no.png) | 

## Disponibilité par région
<a name="model-card-amazon-titan-multimodal-embeddings-g1-regional-availability"></a>

***La disponibilité régionale en un coup d'œil * **

Amazon Bedrock propose trois options d'inférence : ** In-Region ** conserve les demandes dans une seule région pour des raisons de stricte conformité, ** géolocalise Cross-Region ** les itinéraires entre les régions d'une même zone géographique (comme les États-Unis, l'UE et l'APAC) tout en respectant la résidence des données, et les Cross-Region ** itinéraires ** mondiaux partout dans le monde lorsqu'il n'y a aucune contrainte de résidence. Consultez la [Disponibilité régionale par modèle](models-region-compatibility.md) page pour plus de détails.


| **Région** | **In-Region** | **Géo ** | **Solution internationale** | 
| --- | --- | --- | --- | 
| us-east-1(Virginie du Nord) | ![Green circle with white checkmark icon.](http://docs.aws.amazon.com/fr_fr/bedrock/latest/userguide/images/icons/icon-yes.png) | ![Red circle with white X icon indicating error, cancel, or close action.](http://docs.aws.amazon.com/fr_fr/bedrock/latest/userguide/images/icons/icon-no.png) | ![Red circle with white X icon indicating error, cancel, or close action.](http://docs.aws.amazon.com/fr_fr/bedrock/latest/userguide/images/icons/icon-no.png) | 
| us-west-2(Oregon) | ![Green circle with white checkmark icon.](http://docs.aws.amazon.com/fr_fr/bedrock/latest/userguide/images/icons/icon-yes.png) | ![Red circle with white X icon indicating error, cancel, or close action.](http://docs.aws.amazon.com/fr_fr/bedrock/latest/userguide/images/icons/icon-no.png) | ![Red circle with white X icon indicating error, cancel, or close action.](http://docs.aws.amazon.com/fr_fr/bedrock/latest/userguide/images/icons/icon-no.png) | 
| ca-central-1(Canada) | ![Green circle with white checkmark icon.](http://docs.aws.amazon.com/fr_fr/bedrock/latest/userguide/images/icons/icon-yes.png) | ![Red circle with white X icon indicating error, cancel, or close action.](http://docs.aws.amazon.com/fr_fr/bedrock/latest/userguide/images/icons/icon-no.png) | ![Red circle with white X icon indicating error, cancel, or close action.](http://docs.aws.amazon.com/fr_fr/bedrock/latest/userguide/images/icons/icon-no.png) | 
| eu-central-1(Francfort) | ![Green circle with white checkmark icon.](http://docs.aws.amazon.com/fr_fr/bedrock/latest/userguide/images/icons/icon-yes.png) | ![Red circle with white X icon indicating error, cancel, or close action.](http://docs.aws.amazon.com/fr_fr/bedrock/latest/userguide/images/icons/icon-no.png) | ![Red circle with white X icon indicating error, cancel, or close action.](http://docs.aws.amazon.com/fr_fr/bedrock/latest/userguide/images/icons/icon-no.png) | 
| eu-west-1(Irlande) | ![Green circle with white checkmark icon.](http://docs.aws.amazon.com/fr_fr/bedrock/latest/userguide/images/icons/icon-yes.png) | ![Red circle with white X icon indicating error, cancel, or close action.](http://docs.aws.amazon.com/fr_fr/bedrock/latest/userguide/images/icons/icon-no.png) | ![Red circle with white X icon indicating error, cancel, or close action.](http://docs.aws.amazon.com/fr_fr/bedrock/latest/userguide/images/icons/icon-no.png) | 
| eu-west-2(Londres) | ![Green circle with white checkmark icon.](http://docs.aws.amazon.com/fr_fr/bedrock/latest/userguide/images/icons/icon-yes.png) | ![Red circle with white X icon indicating error, cancel, or close action.](http://docs.aws.amazon.com/fr_fr/bedrock/latest/userguide/images/icons/icon-no.png) | ![Red circle with white X icon indicating error, cancel, or close action.](http://docs.aws.amazon.com/fr_fr/bedrock/latest/userguide/images/icons/icon-no.png) | 
| eu-west-3(Paris) | ![Green circle with white checkmark icon.](http://docs.aws.amazon.com/fr_fr/bedrock/latest/userguide/images/icons/icon-yes.png) | ![Red circle with white X icon indicating error, cancel, or close action.](http://docs.aws.amazon.com/fr_fr/bedrock/latest/userguide/images/icons/icon-no.png) | ![Red circle with white X icon indicating error, cancel, or close action.](http://docs.aws.amazon.com/fr_fr/bedrock/latest/userguide/images/icons/icon-no.png) | 
| ap-south-1(Bombay) | ![Green circle with white checkmark icon.](http://docs.aws.amazon.com/fr_fr/bedrock/latest/userguide/images/icons/icon-yes.png) | ![Red circle with white X icon indicating error, cancel, or close action.](http://docs.aws.amazon.com/fr_fr/bedrock/latest/userguide/images/icons/icon-no.png) | ![Red circle with white X icon indicating error, cancel, or close action.](http://docs.aws.amazon.com/fr_fr/bedrock/latest/userguide/images/icons/icon-no.png) | 
| ap-southeast-2(Sydney) | ![Green circle with white checkmark icon.](http://docs.aws.amazon.com/fr_fr/bedrock/latest/userguide/images/icons/icon-yes.png) | ![Red circle with white X icon indicating error, cancel, or close action.](http://docs.aws.amazon.com/fr_fr/bedrock/latest/userguide/images/icons/icon-no.png) | ![Red circle with white X icon indicating error, cancel, or close action.](http://docs.aws.amazon.com/fr_fr/bedrock/latest/userguide/images/icons/icon-no.png) | 
| sa-east-1(São Paulo) | ![Green circle with white checkmark icon.](http://docs.aws.amazon.com/fr_fr/bedrock/latest/userguide/images/icons/icon-yes.png) | ![Red circle with white X icon indicating error, cancel, or close action.](http://docs.aws.amazon.com/fr_fr/bedrock/latest/userguide/images/icons/icon-no.png) | ![Red circle with white X icon indicating error, cancel, or close action.](http://docs.aws.amazon.com/fr_fr/bedrock/latest/userguide/images/icons/icon-no.png) | 

## Quotas et limites
<a name="model-card-amazon-titan-multimodal-embeddings-g1-quotas"></a>

Votre AWS compte possède des quotas par défaut afin de maintenir les performances du service et de garantir une utilisation appropriée d'Amazon Bedrock. Les quotas par défaut attribués à un compte peuvent être mis à jour en fonction de facteurs régionaux, de l'historique des paiements, d'une utilisation frauduleuse ou de and/or l'approbation d'une demande d'[augmentation de quota](bedrock/latest/userguide/quotas-increase.html). Pour plus d'informations, consultez [Quotas pour Amazon Bedrock](quotas.md) la documentation et consultez [ les ](general/latest/gr/bedrock.html#limits_bedrock) limites du modèle.

## Exemple de code
<a name="model-card-amazon-titan-multimodal-embeddings-g1-sample-code"></a>

**Étape 1 - AWS Compte : ** Si vous avez déjà un AWS compte, ignorez cette étape. Si vous êtes nouveau sur AWS AWS, créez un compte [ AWS](https://portal.aws.amazon.com/billing/signup).

**Étape 2 - Clé API : ** Accédez à la console [ Amazon Bedrock ](https://console.aws.amazon.com/bedrock/home#/api-keys/long-term/create) et générez une clé API à long terme.

**Étape 3 - Téléchargez le SDK : ** pour utiliser ce guide de démarrage, Python doit déjà être installé. Installez ensuite le logiciel approprié en fonction des API que vous utilisez.

```
pip install boto3
```

**Étape 4 - Définissez les variables d'environnement : ** configurez votre environnement pour utiliser la clé API pour l'authentification.

```
AWS_BEARER_TOKEN_BEDROCK="<provide your Bedrock API key>"
```

**Étape 5 - Exécutez votre première demande d'inférence : ** enregistrez le fichier sous `bedrock-first-request.py`

------
#### [ Invoke API ]

```
import json
import boto3

client = boto3.client('bedrock-runtime', region_name='us-east-1')
response = client.invoke_model(
    modelId='amazon.titan-embed-image-v1',
    body=json.dumps({
            'inputText': 'What are the different services that you offer?',
            'embeddingConfig': {
                'outputEmbeddingLength': 1024
            }
    })
)
print(json.loads(response['body'].read()))
```

------