Mantieni tutto organizzato con le raccolte
Salva e classifica i contenuti in base alle tue preferenze.
Iniziare a utilizzare Human-in-the-Loop
Questa guida rapida offre l'introduzione a Human-in-the-Loop. In questa guida rapida, utilizzerai la console Google Cloud per configurare il progetto Google Cloud e l'autorizzazione, creare un processore e quindi abilitare la revisione umana sul processore.
Per seguire le indicazioni dettagliate per questa attività direttamente nella Google Cloud console, fai clic su Procedura guidata:
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.
Nota: il flusso di lavoro di revisione da parte di persone fisiche è supportato per i processori elencati nella pagina Panoramica.
Nel menu di navigazione della console Google Cloud , fai clic su Document AI e seleziona Galleria processori.
Galleria processori
Nella Galleria processori,
cercaAnalizzatore sintattico delle fatture e seleziona Crea.
Nel menu Crea processore, inserisci un nome per il processore, ad esempio my-invoice-processor.
Seleziona la regione più vicina a te.
Fai clic su Crea. Verrà visualizzata la pagina dei dettagli del processore appena creato.
Abilita la revisione da parte di persone fisiche sul processore
Vai alla scheda
Human-in-the-loop
del tuo processore.
Seleziona
Configura human-in-the-loop.
Nell'elenco
Seleziona esperti,
seleziona Utilizza i miei esperti.
Nell'elenco
Pool di etichettatori,
seleziona Nuovo pool di esperti.
Nella finestra di dialogo popup, inserisci un
Nome pool, ad esempio My Labeler Pool.
Inserisci il tuo indirizzo email per i gestori di pool e gli esperti.
Fai clic su Crea pool. Il completamento dell'operazione richiede alcuni secondi.
(Facoltativo) Seleziona la casella
Abilita assegnazione automatica.
Seleziona la casella
Conferma addebiti.
Nella sezione
Imposta filtri,
seleziona Filtro a livello di documento.
(Facoltativo) Puoi anche impostare Filtri a livello di etichetta per filtrare i dati in base a singoli campi.
Imposta la
soglia di affidabilità al 100%. Verranno inviati tutti i documenti previsti per la revisione da parte di persone fisiche.
Nella sezione Aggiungi istruzioni, inserisci il seguente percorso di Cloud Storage nel campo
Posizione delle istruzioni.
Questo è un PDF contenente le istruzioni predefinite per l'analizzatore sintattico delle fatture. Se vuoi, puoi anche creare istruzioni personalizzate.
Nel campo
Posizione dei risultati, seleziona o crea un bucket per l'output della revisione da parte di persone fisiche.
Fai clic sul pulsante
Salva configurazione. Il completamento dell'operazione richiede alcuni secondi.
Una volta completata la configurazione, seleziona il dispositivo di scorrimento
Attiva human-in-the-loop.
Seleziona
Attiva dalla finestra di dialogo popup.
Hai configurato human-in-the-loop su un analizzatore sintattico di fatture.
(Facoltativo) Gestisci le attività di etichettatura
Dopo aver configurato la revisione da parte di persone fisiche, dovresti ricevere un'email simile alla seguente:
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
[[["Facile da capire","easyToUnderstand","thumb-up"],["Il problema è stato risolto","solvedMyProblem","thumb-up"],["Altra","otherUp","thumb-up"]],[["Difficile da capire","hardToUnderstand","thumb-down"],["Informazioni o codice di esempio errati","incorrectInformationOrSampleCode","thumb-down"],["Mancano le informazioni o gli esempi di cui ho bisogno","missingTheInformationSamplesINeed","thumb-down"],["Problema di traduzione","translationIssue","thumb-down"],["Altra","otherDown","thumb-down"]],["Ultimo aggiornamento 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)."]]