tabby icon indicating copy to clipboard operation
tabby copied to clipboard

feat: notion integration

Open umialpha opened this issue 1 year ago • 1 comments

#2894

implements

I followed the pattern WebCrawler, creating the following core components:

  • Adding list/create/delete interfaces to Queryand Mutation.
  • Adding new interface NotionDocumentService and impl NotionServiceImpl
  • Adding list/create/delete interfaces to DBCon,
  • Adding a new enum BackgroundJobEvent.NotionIntregration
  • Adding notion_utils to fetch docs using notion apis.

** I also implemented the frontend part

Next PR

  1. (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.
  2. (Possibly required) Currently, background tasks are executed serially; it may be necessary to change to multi-threaded execution.

umialpha avatar Sep 13 '24 13:09 umialpha

@wsxiaoys ,PTAL, I've finished both the fe and be parts.

umialpha avatar Sep 19 '24 13:09 umialpha