AlessandroSpallina / ccat-dietician

Prevent multiple unnecessary ingestions of the same file if it's unchanged. Support declarative memory update when a document changes; simply re-upload the document. Dietician is your friend!

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Dietician

Awesome plugin

fat cat

This plugin hooks into the RabbitHole to prevend multiple ingestions of the same document.

Using this plugin you can relax yourself and put into the RabbitHole all the files you want, the Dietician will only allow new documents (o newer versions of the same file, by updating only the modified chunks) for you.

If you like this plugin, please show appreciacion by giving a star to the repository, otherwise a kitten will die!

Usage

  1. Install the plugin BEFORE ingesting any document: Dietician tracks document ingestion only if activated
  2. Ingest documents

Notice

If you wipe the declarative memory remember to delete the dietician.db inside the directory plugin (es. core/cat/plugins/dietician.db)

Under the hood

Diagram flow

About

Prevent multiple unnecessary ingestions of the same file if it's unchanged. Support declarative memory update when a document changes; simply re-upload the document. Dietician is your friend!


Languages

Language:Python 100.0%