Structsยง
- Syncer
Config ๐
Constantsยง
- SYNC_
INTERVAL_ ๐SECS
Functionsยง
- delete_
old_ ๐files Deletes files from blob storage that are no longer associated with any page. - Ensures that the specified search index exists, creating it if necessary.
- generate_
blob_ ๐path Generates the blob storage path for a given page. - Initializes the Azure Blob Storage client.
- Initializes the PostgreSQL connection pool.
- sync_
pages ๐Synchronizes pages to the chatbot backend. - sync_
pages_ ๐batch Processes and synchronizes a batch of pages.