Overview

There are instances where you may wish for content to be visible in Glean Search results, but not usable in responses generated byGlean Chat or Assistant.

You can exclude certain content from ever being sent to an LLM across all Glean Assistant interfaces.

If you exclude a document, Glean Assistant will not use any data from that document to generate responses; even if a user is permitted to access the document content.

Types of Restrictions

Glean supports two types of content restrictions:

  • Exclusion rules - Content is explicitly excluded from being used in responses generated by Glean Assistant. This is also known as redlisting or blocklisting.
  • Inclusion rules - Content is explicitly included in the set of documents that can be used to generate responses. Only this content will be used to generate responses. This is also known as greenlisting or allowlisting.

Supported Exclusion Rules

Exclusions can be set based on:

  • Datasource - You can select an entire datasource to exclude from Assistant, e.g. Workday.
  • Super Containers - A super container is a group of sub-containers and/or documents and cannot contain other super containers. E.g. A top-level directory in Google Drive.
  • Containers - A container is a group of content within a datasource. E.g. A folder in Google Drive, a Site in SharePoint.
  • Documents - You can select individual documents to exclude from Assistant, e.g. plans_for_world_domination.docx

Configuration

To configure exclusion rules for Glean Assistant:

  1. Navigate to  Admin Console > Platform > Assistant > Advanced.
  2. Expand the either the Exclusion rules or Inclusion rules dropdowns, and populate the dropdowns with the datasources, super containers, containers, or documents you wish to exclude or include. The Glean UI will help you find and identify the IDs of the containers or documents you need to exclude or include.
  3. Click Save to persist your changes.

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