Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Define Knowledge Scope Rules

Info

Note: To utilize the established Knowledge Scope Rules, the space must have the Document Search module assignedKnowledge scope rules apply to all AI assistants designed for internal document search, except for the following: Context Memory Search, Document Summarizer, and Investment Research Assistant.

The Knowledge Scope Rules interface is part of the Space Management and lets the user define smart rules on their space that will have an impact on what files the space takes into account when performing a search. 

...

It is important to remember that files are filtered not only by Knowledge Scope rules but also by the folder access rights defined in the knowledge base. Therefore, if a user defines a Knowledge Scope rule for a specific folder and intends to target a particular group of people, the user must ensure that all those individuals have access to that folder.

How to enable feature

To enable this feature, the following two steps need to be done:

...

The knowledge scope UI can be enabled by setting the following environment variable inside the next-admin app:

Code Block
FEATURE_FLAG_KNOWLEDGE_SCOPE_UN_5773=true

Please note that the rebuilding of metadata (see section Enable filtering for folder path for files uploaded before Sep. 18th 2024) is also an important (and for now) manual step that needs to be done in order to make the Folder Path filter work retrospectively for files uploaded before 18th of September 2024.

Folder path filtering for files uploaded before Sep. 18th 2024

At the moment, two requests to the node-ingestion API (markAllForRebuildingMetadata and rebuildMetadata) must be manually executed to rebuild all metadata and add the folderIdPath property for files uploaded before September 18, 2024.

Otherwise only files uploaded after September 18, 2024 will be filtered by the knowledge scope rules.

...