diff --git a/backend/danswer/connectors/slack/connector.py b/backend/danswer/connectors/slack/connector.py index 03a51ca3d..1e680f2e9 100644 --- a/backend/danswer/connectors/slack/connector.py +++ b/backend/danswer/connectors/slack/connector.py @@ -285,6 +285,9 @@ class SlackLoadConnector(LoadConnector): workspace: str, export_path_str: str, channels: list[str] | None = None, + # if specified, will only include channels that match at least one of these + # regexes OR are in `channels` + channel_regexes: list[str] | None = None, batch_size: int = INDEX_BATCH_SIZE, ) -> None: self.workspace = workspace