panoratech / Panora

One API to connect your data sources to your LLMs
https://docs.panora.dev
Apache License 2.0
945 stars 193 forks source link

Feat: Incremental Sync for providers #700

Open mit-27 opened 2 months ago

mit-27 commented 2 months ago

Problem:

Possible Solution:

-- ************************************** vertical_objects_sync_track_data
CREATE TABLE vertical_objects_sync_track_data
(
 id_vertical_objects_sync_track_data uuid NOT NULL,
 vertical                            text NOT NULL,
 provider_slug                       text NOT NULL,
 object                              text NOT NULL,
 pagination_type                     text NOT NULL,
 id_connection                       uuid NOT NULL,
 data                                json,
 CONSTRAINT PK_vertical_objects_sync_track_data PRIMARY KEY ( id_vertical_objects_sync_track_data ),
 CONSTRAINT FK_connection FOREIGN KEY ( id_connection ) REFERENCES connections ( id_connection )
);

Note: