[Feature] Add Slack Loader (#932)

Co-authored-by: Deven Patel <deven298@yahoo.com>
This commit is contained in:
Deven Patel
2023-11-13 13:06:01 -08:00
committed by GitHub
parent 23522b7b55
commit 539286aafd
10 changed files with 248 additions and 12 deletions

View File

@@ -68,6 +68,7 @@ class DataFormatter(JSONSerializable):
custom_loaders = set(
[
DataType.POSTGRES,
DataType.SLACK,
]
)
@@ -106,6 +107,7 @@ class DataFormatter(JSONSerializable):
DataType.GMAIL: "embedchain.chunkers.gmail.GmailChunker",
DataType.NOTION: "embedchain.chunkers.notion.NotionChunker",
DataType.POSTGRES: "embedchain.chunkers.postgres.PostgresChunker",
DataType.SLACK: "embedchain.chunkers.slack.SlackChunker",
}
if data_type in chunker_classes: