Restez organisé à l'aide des collections
Enregistrez et classez les contenus selon vos préférences.
Premiers pas avec human-in-the-loop (avec intervention humaine)
Ce guide de démarrage rapide vous présente Human-in-the-Loop (avec intervention humaine). Dans ce guide de démarrage rapide, vous allez utiliser la console Google Cloud pour configurer votre projet Google Cloud et votre autorisation, créer un outil de traitement, puis activer l'examen manuel sur celui-ci.
Pour obtenir des instructions détaillées sur cette tâche directement dans la console Google Cloud , cliquez sur Visite guidée :
Sign in to your Google Cloud account. If you're new to
Google Cloud,
create an account to evaluate how our products perform in
real-world scenarios. New customers also get $300 in free credits to
run, test, and deploy workloads.
In the Google Cloud console, on the project selector page,
select or create a Google Cloud project.
Remarque : Le workflow d'examen manuel est compatible avec les outils de traitement indiqués sur la page de présentation.
Dans le menu de navigation de la console Google Cloud , cliquez sur Document AI, puis sélectionnez Galerie d'outils de traitement.
Galerie de processeurs
Dans la Galerie de processeurs, recherchez l'élément Analyseur de factures et sélectionnez Créer.
Dans le menu Créer un outil de traitement, saisissez le nom de votre outil de traitement (par exemple, my-invoice-processor).
Sélectionnez la région la plus proche de vous.
Cliquez sur Créer. Vous êtes alors redirigé vers la page d'informations de l'outil de traitement que vous venez de créer.
Activer l'examen manuel dans l'outil de traitement
Accédez à l'onglet Human-in-the-loop de l'outil de traitement.
Sélectionnez Configurer Human-in-the-Loop.
Dans la liste Sélectionner des spécialistes, sélectionnez Faire appel à mes propres spécialistes.
Dans la liste Pool d'étiqueteurs, sélectionnez Nouveau pool de spécialistes.
Dans la boîte de dialogue qui s'affiche, saisissez un nom pour le pool, tel que My Labeler Pool.
Saisissez votre adresse e-mail dans Gestionnaires de pools et Spécialistes.
Cliquez sur Créer un pool. Cette opération prend quelques secondes.
(Facultatif) Cochez la case Activer l'attribution automatique.
Cochez la case Confirmer les frais.
Dans la section Définir des filtres, sélectionnez Filtre au niveau du document.
(Facultatif) Vous pouvez également définir des filtres au niveau des étiquettes pour appliquer des filtres à chaque champ.
Définissez le seuil de confiance sur 100 %. Tous les documents prédits sont alors envoyés pour examen manuel.
Dans la section Ajouter des instructions, saisissez le chemin d'accès Cloud Storage ci-dessous dans le champ Emplacement des instructions.
Il s'agit d'un PDF contenant des instructions prédéfinies pour l'analyseur de factures. Vous pouvez également créer vos propres instructions si vous le souhaitez.
Dans le champ Emplacement des résultats, sélectionnez ou créez un bucket pour les résultats de l'examen manuel.
Cliquez sur le bouton Enregistrer la configuration. Cette opération prend quelques secondes.
Une fois la configuration terminée, sélectionnez le curseur Activer human-in-the-Loop.
Sélectionnez Activer dans la boîte de dialogue qui s'affiche.
Vous avez correctement configuré le modèle human-in-the-loop (avec intervention humaine) sur un analyseur de factures.
(Facultatif) Gérer les tâches d'étiquetage
Après avoir configuré l'examen manuel, vous devriez recevoir un e-mail semblable à celui-ci :
From: AI Platform <noreply-aiplatform@google.com>\
Subject: Added to AI Platform SpecialistPool Test Labeler Group
Hello AI Platform Customer,
You are added as a manager to specialist pool
cloudml_data_specialists_us_central1_785484070008756xxxx.
To view details, visit Manager console
https://datacompute.google.com/cm/
Sincerely,
The Google Cloud AI Team
Sauf indication contraire, le contenu de cette page est régi par une licence Creative Commons Attribution 4.0, et les échantillons de code sont régis par une licence Apache 2.0. Pour en savoir plus, consultez les Règles du site Google Developers. Java est une marque déposée d'Oracle et/ou de ses sociétés affiliées.
Dernière mise à jour le 2025/09/04 (UTC).
[[["Facile à comprendre","easyToUnderstand","thumb-up"],["J'ai pu résoudre mon problème","solvedMyProblem","thumb-up"],["Autre","otherUp","thumb-up"]],[["Difficile à comprendre","hardToUnderstand","thumb-down"],["Informations ou exemple de code incorrects","incorrectInformationOrSampleCode","thumb-down"],["Il n'y a pas l'information/les exemples dont j'ai besoin","missingTheInformationSamplesINeed","thumb-down"],["Problème de traduction","translationIssue","thumb-down"],["Autre","otherDown","thumb-down"]],["Dernière mise à jour le 2025/09/04 (UTC)."],[[["\u003cp\u003eDocument AI Human-in-the-Loop (HITL) is being deprecated and will no longer be available on Google Cloud after January 16, 2025, with new customers not being allowlisted.\u003c/p\u003e\n"],["\u003cp\u003eThis guide demonstrates how to set up a Google Cloud project, create an Invoice Parser processor, and enable Human Review on that processor within the Document AI framework.\u003c/p\u003e\n"],["\u003cp\u003eTo enable Human Review, you must configure the Human-in-the-Loop settings, including selecting or creating a specialist pool, setting confidence thresholds, and providing instructions.\u003c/p\u003e\n"],["\u003cp\u003eAfter configuring Human Review, users will receive an email notification, and they can then manage and complete labeling tasks through the Human Review console.\u003c/p\u003e\n"],["\u003cp\u003eThe recommended solution for implementing human review and correction is to work with one of Google Cloud's certified partners such as Devoteam, Searce, or Quantiphi.\u003c/p\u003e\n"]]],[],null,["# Get started with Human-in-the-Loop\n==================================\n\n\n| **Caution** : Document AI Human-in-the-Loop is deprecated and will no longer be available on Google Cloud after January 16, 2025. New customers are not allowlisted. If you want to use (HITL) but don't see the option available, contact your Google Account team. \n|\n| To implement a human review and correction solution that meets your requirements, we recommend working with a Google Cloud certified partner like Devoteam, Searce, or Quantiphi. See [Deprecations](/document-ai/docs/deprecation) for details.\n\n\u003cbr /\u003e\n\nThis quickstart introduces you to Human-in-the-Loop. In this quickstart,\nyou will use the Google Cloud console to set up your Google Cloud project and\nauthorization, create a processor, and then enable Human Review on that processor.\n\n*** ** * ** ***\n\nTo follow step-by-step guidance for this task directly in the\nGoogle Cloud console, click **Guide me**:\n\n[Guide me](https://console.cloud.google.com/ai/document-ai?tutorial=document-ai--documentai_hitl_intro_console)\n\n*** ** * ** ***\n\nBefore you begin\n----------------\n\n- Sign in to your Google Cloud account. If you're new to Google Cloud, [create an account](https://console.cloud.google.com/freetrial) to evaluate how our products perform in real-world scenarios. New customers also get $300 in free credits to run, test, and deploy workloads.\n- In the Google Cloud console, on the project selector page,\n select or create a Google Cloud project.\n\n | **Note**: If you don't plan to keep the resources that you create in this procedure, create a project instead of selecting an existing project. After you finish these steps, you can delete the project, removing all resources associated with the project.\n\n [Go to project selector](https://console.cloud.google.com/projectselector2/home/dashboard)\n-\n [Verify that billing is enabled for your Google Cloud project](/billing/docs/how-to/verify-billing-enabled#confirm_billing_is_enabled_on_a_project).\n\n-\n\n\n Enable the Document AI, Cloud Storage, Vertex AI APIs.\n\n\n [Enable the APIs](https://console.cloud.google.com/flows/enableapi?apiid=documentai.googleapis.com,storage.googleapis.com,aiplatform.googleapis.com)\n\n- In the Google Cloud console, on the project selector page,\n select or create a Google Cloud project.\n\n | **Note**: If you don't plan to keep the resources that you create in this procedure, create a project instead of selecting an existing project. After you finish these steps, you can delete the project, removing all resources associated with the project.\n\n [Go to project selector](https://console.cloud.google.com/projectselector2/home/dashboard)\n-\n [Verify that billing is enabled for your Google Cloud project](/billing/docs/how-to/verify-billing-enabled#confirm_billing_is_enabled_on_a_project).\n\n-\n\n\n Enable the Document AI, Cloud Storage, Vertex AI APIs.\n\n\n [Enable the APIs](https://console.cloud.google.com/flows/enableapi?apiid=documentai.googleapis.com,storage.googleapis.com,aiplatform.googleapis.com)\n\n\u003cbr /\u003e\n\nCreate a processor\n------------------\n\n**Note:** The Human Review workflow is supported for the processors listed on the [overview page](/document-ai/hitl#processors_supported).\n\n1. In the Google Cloud console navigation menu, click **Document AI** and select **Processor Gallery** .\n\n [Processor Gallery](https://console.cloud.google.com/ai/document-ai/processor-library)\n\n2. In the **Processor Gallery** ,\n search for\n **Invoice Parser** and select **Create**.\n\n3. In the\n **Create processor**\n menu, enter a name for your processor, such as `my-invoice-processor`.\n\n4. Select the region closest to you.\n\n5. Click **Create**. You will be taken to the details page of your newly created processor.\n\nEnable Human Review on the processor\n------------------------------------\n\n1. Go to your processor's\n **Human-in-the-Loop**\n tab.\n\n2. Select\n **Configure Human-in-the-Loop**\n\n\n3. In the\n **Select specialists**\n list, select **Use my own specialists**.\n\n | **Note:** The **[Google HITL workforce](/document-ai/docs/hitl/google-workforce)** option is in Private Preview and is limited to processing only non-PII data.\n4. In the\n **Labeler Pool**\n list, select **New Specialist Pool**.\n\n\n5. In the pop-up dialog, enter a\n **Pool name** such as `My Labeler Pool`.\n\n\n6. Enter your email address for the **Pool managers** and **Specialists**.\n\n7. Click **Create Pool**. It will take several seconds to complete.\n\n8. (Optional) Check the\n **Enable Auto-Assignment** box.\n\n9. Check the\n **Confirm charges** box.\n\n10. In the\n **Set filters** section\n select **Document-level filter**.\n\n 1. (Optional) You can also set **Label-level filters** to filter based on individual fields.\n11. Set the\n **Confidence threshold** to 100%. This will send all predicted documents for Human Review.\n\n\n12. In the **Add instructions** section, enter the following Cloud Storage path in the\n **Instructions location** field.\n\n This is a PDF containing premade instructions for the Invoice Parser. You can also [create your own instructions](/document-ai/hitl/priv/docs/instructions) if desired. \n\n cloud-samples-data/documentai/labeling-instructions/pretrained-invoice-v1.3-2022-07-15.pdf\n\n13. In the\n **Results location** field, select or create a bucket for the Human Review output.\n\n14. Click the\n **Save Configuration** button. This will take several seconds to complete.\n\n\n15. Once the configuration is complete, select the\n **Enable Human-in-the-Loop** slider.\n\n\n16. Select\n **Enable** from the pop-up dialog.\n\nYou have successfully configured Human-in-the-Loop on an Invoice Parser.\n\n(Optional) Manage Labeling Tasks\n--------------------------------\n\n1. After configuring Human Review, you should receive an email similar to the following:\n\n From: AI Platform \u003cnoreply-aiplatform@google.com\u003e\\\n Subject: Added to AI Platform SpecialistPool Test Labeler Group\n\n Hello AI Platform Customer,\n\n You are added as a manager to specialist pool\n cloudml_data_specialists_us_central1_785484070008756xxxx.\n To view details, visit Manager console\n https://datacompute.google.com/cm/\n\n Sincerely,\n The Google Cloud AI Team\n\n2. Follow the instructions in [Complete a Review Task](/document-ai/hitl/priv/docs/complete-review-task) and [Manage Labeling Tasks](/document-ai/hitl/priv/docs/manage-labeling-tasks) to use the Human Review console.\n\nWhat's next\n-----------\n\n- [Complete a review task](/document-ai/docs/hitl/complete-review-task) using the labeler console.\n- See a list and descriptions of currently [available processors](/document-ai/docs/processor-overview)."]]