Restrict LLM Access to Content
Overview
If you want Glean search results to display certain content, but don't want Glean Assistant and Agents to use this content in their responses, you can exclude LLM access to specific content across all Glean interfaces.
If you exclude a content source, Glean Assistant and Agents won't use any data from that content to generate responses. Even if a user has permission to access the content, Glean Assistant and Agents respect the exclusion rule to restrict LLM access to that content.
Types of restrictions
Glean supports the following content restriction rule types:
| Rule type | Description |
|---|---|
| Exclusion rules | Explicitly exclude content from responses generated by Glean Assistant and Agents. Also known as redlisting or blocklisting. |
| Inclusion rules | Explicitly include content that Glean Assistant and Agents can use to generate responses. Glean Assistant and Agents will use only this content. Also known as greenlisting or allowlisting. |
Content to set exclusion rules for
You can set exclusion rules based on the following content:
| Content | Description | Example |
|---|---|---|
| Datasource | An entire datasource | Workday |
| Super Containers | A group of sub-containers or documents that cannot contain other super containers | A top-level directory in Google Drive |
| Containers | A group of content within a datasource | A folder in Google Drive, a Site in SharePoint |
| Documents | Individual documents | plans_for_world_domination.docx |
Configure an exclusion rule
Here's how to configure an exclusion rule for Glean:
- Navigate to Admin Console → Platform → Assistant → Advanced.
- Expand either the Exclusion rules or Inclusion rules dropdowns.
- Populate the dropdowns with the datasources, super containers, containers, or documents you wish to exclude or include. The Glean UI populates document and container IDs to exclude or include.
- Click Save.
Your changes may take up to an hour to take effect.