設定 Trellis Law 資料儲存庫

本文說明如何建立 Trellis Law 資料儲存庫,並連結至 Gemini Enterprise 應用程式,以便使用自然語言搜尋法律資訊。

事前準備

  1. 登入 Google 帳戶。

    如果還沒有帳戶,請註冊新帳戶。

  2. In the Google Cloud console, on the project selector page, select or create a Google Cloud project.

    Roles required to select or create a project

    • Select a project: Selecting a project doesn't require a specific IAM role—you can select any project that you've been granted a role on.
    • Create a project: To create a project, you need the Project Creator role (roles/resourcemanager.projectCreator), which contains the resourcemanager.projects.create permission. Learn how to grant roles.

    Go to project selector

  3. Verify that you have the permissions required to complete this guide.

  4. Verify that billing is enabled for your Google Cloud project.

  5. In the Google Cloud console, on the project selector page, select or create a Google Cloud project.

    Roles required to select or create a project

    • Select a project: Selecting a project doesn't require a specific IAM role—you can select any project that you've been granted a role on.
    • Create a project: To create a project, you need the Project Creator role (roles/resourcemanager.projectCreator), which contains the resourcemanager.projects.create permission. Learn how to grant roles.

    Go to project selector

  6. Verify that you have the permissions required to complete this guide.

  7. Verify that billing is enabled for your Google Cloud project.

必要的角色

如要取得在 Gemini Enterprise 建立 Trellis Law 資料儲存庫所需的權限,請要求管理員授予您專案的 Discovery Engine 編輯者 (roles/discoveryengine.editor) IAM 角色。如要進一步瞭解如何授予角色,請參閱「管理專案、資料夾和組織的存取權」。

您或許也能透過自訂角色或其他預先定義的角色,取得必要權限。

建立 Trellis Law 資料儲存庫

  1. 前往 Google Cloud 控制台的「Gemini Enterprise」頁面。

    前往 Gemini Enterprise

  2. 點選導覽選單中的「Data stores」(資料儲存庫),然後按一下「 Create data store」(建立資料儲存庫)。

  3. 在「Source」(來源) 部分搜尋 Trellis Law,然後點按「Select」(選取)。

  4. 在「Data」(資料) 部分,完成下列步驟:

    1. 如果建立資料儲存庫流程顯示「Advanced options」(進階選項) 部分,您可以選取其中的「Enable Static IP Addresses」(啟用靜態 IP 位址) 核取方塊。這能確保資料儲存庫使用一組固定的 IP 位址處理傳出流量,適合在來源系統中加入許可清單。詳情請參閱「設定靜態 IP 輸出」。

    2. 在「Entities to search」(要搜尋的實體) 部分,選取「Case」(案件)。

    3. 按一下「繼續」。

  5. 在「Configuration」(設定) 部分:

    1. 從「Multi-region」(多區域) 清單中,選取資料連接器的位置。
    2. 在「Your data connector name」(資料連接器名稱) 欄位中,輸入連接器的名稱。
    3. 如果您選取 us 或 eu 做為位置,請設定「Encryption settings」(加密設定):
      • 選用:如果尚未設定單一區域金鑰,請按一下「Go to settings page」(前往設定頁面)。詳情請參閱「為第三方連接器註冊單一區域金鑰」一文。
      • 選取「Google-managed encryption key」(客戶自行管理的加密金鑰) 或「Cloud KMS key」(Cloud KMS 金鑰)。
      • 如果您選取「Cloud KMS key」(Cloud KMS 金鑰):
        • 在「Key management type」(金鑰管理類型) 清單中,選取適當的類型。
        • 在「Cloud KMS key」(Cloud KMS 金鑰) 清單中,選取金鑰。
      詳情請參閱「客戶自行管理的加密金鑰」一文。

  6. 按一下「Continue」(繼續)。

  7. 在「Billing」(帳單) 部分,選取「General pricing」(一般計價模式) 或「Configurable pricing」(可設定的計價模式)。詳情請參閱「確認專案的帳單狀態」一文和「授權」一文。

  8. 點選「建立」。Gemini Enterprise 會隨即建立資料儲存庫,並在「Data stores」(資料儲存庫) 頁面上顯示。

  9. 如要查看資料儲存庫狀態,請在「Data stores」(資料儲存庫) 頁面點選資料儲存庫名稱。狀態從「Creating」(建立中) 變更為「Active」(運作中) 後,Trellis Law 資料儲存庫即可連結至應用程式。

執行查詢前,請先完成下列事項:

  1. 將資料儲存庫連結至現有應用程式,或建立應用程式並將資料儲存庫連結至該應用程式。

  2. 在 Gemini Enterprise 授權存取 Trellis Law。

資料處理和查詢執行

本節說明 Gemini Enterprise 如何管理查詢,以及使用聯合資料儲存庫對隱私權造成的影響。

查詢執行

授權 Trellis Law 後,將搜尋查詢傳送至 Gemini Enterprise 時,會發生下列情況:

  • Gemini Enterprise 會將搜尋查詢直接傳送至 Trellis Law API。
  • Gemini Enterprise 會結合各個連結資料來源的結果,並顯示詳盡的搜尋結果。

資料處理

使用第三方聯合搜尋功能時,適用下列資料處理規則:

  • 查詢字串會傳送至第三方搜尋後端 (Trellis Law API)。
  • 這些第三方可能會將查詢與您的身分建立關聯。
  • 如果啟用多個聯合搜尋資料來源,查詢可能會傳送至所有來源。
  • 第三方系統收到資料後,這些資料就受到該系統的《服務條款》和《隱私權政策》規範。

後續步驟