This document describes how to create a Trellis Law data store and connect it to a Gemini Enterprise app for natural language legal search.
Before you begin
-
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 theresourcemanager.projects.createpermission. Learn how to grant roles.
-
Verify that you have the permissions required to complete this guide.
-
Verify that billing is enabled for your Google Cloud project.
Required roles
To get the permissions that
you need to create a Trellis Law data store in Gemini Enterprise,
ask your administrator to grant you the
Discovery Engine Editor (roles/discoveryengine.editor) IAM role on your project.
For more information about granting roles, see Manage access to projects, folders, and organizations.
You might also be able to get the required permissions through custom roles or other predefined roles.
Create the Trellis Law data store
In the Google Cloud console, go to the Gemini Enterprise page.
In the navigation menu, click Data stores, and then click Create data store.
In the Source section, search for Trellis Law, and click Select.
In the Data section, complete the following steps:
If the create data store flow shows an Advanced options section, you can select the Enable Static IP Addresses checkbox within it. This ensures the data store uses a fixed set of IP addresses for outbound traffic, suitable for allowlisting on the source system. For more information, see Configure static IP egress.
In the Entities to search section, select Case.
Click Continue.
In the Configuration section:
- From the Multi-region list, select the location for your data connector.
- In the Your data connector name field, enter a name for your connector.
- If you selected
usoreuas the location, configure the Encryption settings:- Optional: If you haven't configured single-region keys, click Go to settings page to do so. For more information, see Register a single-region key for third-party connectors.
- Select Google-managed encryption key or Cloud KMS key.
- If you selected Cloud KMS key:
- In the Key management type list, select the appropriate type.
- In the Cloud KMS key list, select the key.
Click Continue.
In the Billing section, select General pricing or Configurable pricing. For more information, see Verify the billing status of your projects and Licenses.
Click Create. Gemini Enterprise creates your data store and displays your data stores on the Data stores page.
To check the data store status, click the data store name on the Data stores page. After the state changes from Creating to Active, the Trellis Law data store is ready to connect to an app.
Before you can run queries, do the following:
Connect the data store to an existing app, or create an app and connect the data store to the app.
Authorize access to Trellis Law in Gemini Enterprise.
Data handling and query execution
This section describes how Gemini Enterprise manages your query and the privacy implications of using the federated data store.
Query execution
After you authorize Trellis Law and send a search query to Gemini Enterprise:
- Gemini Enterprise sends your search query directly to the Trellis Law API.
- Gemini Enterprise blends the results with those from other connected data sources and displays a comprehensive search result.
Data handling
When using third-party federated search, the following data handling rules apply:
- Your query string is sent to the third-party search backend (Trellis Law API).
- These third parties may associate queries with your identity.
- If multiple federated search data sources are enabled, the query might be sent to all of them.
- After the data reaches the third-party system, it is governed by that system's terms of service and privacy policies.