Skip to main content

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 typeDescription
Exclusion rulesExplicitly exclude content from responses generated by Glean Assistant and Agents. Also known as redlisting or blocklisting.
Inclusion rulesExplicitly 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:

ContentDescriptionExample
DatasourceAn entire datasourceWorkday
Super ContainersA group of sub-containers or documents that cannot contain other super containersA top-level directory in Google Drive
ContainersA group of content within a datasourceA folder in Google Drive, a Site in SharePoint
DocumentsIndividual documentsplans_for_world_domination.docx

Configure an exclusion rule

Here's how to configure an exclusion rule for Glean:

  1. Navigate to  Admin Console → Platform → Assistant → Advanced.
  2. Expand either the Exclusion rules or Inclusion rules dropdowns.
  3. 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.
  4. Click Save.

Your changes may take up to an hour to take effect.