tabby
tabby copied to clipboard
feat: notion integration
#2894
implements
I followed the pattern WebCrawler, creating the following core components:
- Adding list/create/delete interfaces to
QueryandMutation. - Adding new interface
NotionDocumentServiceand implNotionServiceImpl - Adding list/create/delete interfaces to DBCon,
- Adding a new enum BackgroundJobEvent.NotionIntregration
- Adding
notion_utilsto fetch docs using notion apis.
** I also implemented the frontend part
Next PR
- (Possibly required) Merge all kinds of integration jobs into a unified service to avoid the need to add a variable to the web server each time a new service is added.
- (Possibly required) Currently, background tasks are executed serially; it may be necessary to change to multi-threaded execution.
@wsxiaoys ,PTAL, I've finished both the fe and be parts.