-
-
Notifications
You must be signed in to change notification settings - Fork 27
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Add background routine to process documents with autoTag every …
…10 seconds - Spawn a new goroutine in the `main` function to process documents with the `autoTag` every 10 seconds. - Implement `processAutoTagDocuments` function to: - Fetch documents with the `autoTag`. - Generate suggestions using the LLM. - Apply the suggestions to the documents. - Remove the `autoTag` from the documents. - Add logging for each document being processed.
- Loading branch information
Showing
1 changed file
with
50 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters