mirror of
https://github.com/danswer-ai/danswer.git
synced 2025-04-07 19:38:19 +02:00
Support Slack channel regex
This commit is contained in:
parent
ce12dd4a5a
commit
d75ca0542a
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user