mirror of
https://github.com/danswer-ai/danswer.git
synced 2025-09-28 21:05:17 +02:00
Support Slack channel regex
This commit is contained in:
@@ -285,6 +285,9 @@ class SlackLoadConnector(LoadConnector):
|
|||||||
workspace: str,
|
workspace: str,
|
||||||
export_path_str: str,
|
export_path_str: str,
|
||||||
channels: list[str] | None = None,
|
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,
|
batch_size: int = INDEX_BATCH_SIZE,
|
||||||
) -> None:
|
) -> None:
|
||||||
self.workspace = workspace
|
self.workspace = workspace
|
||||||
|
Reference in New Issue
Block a user