The main loader.py script was re-implementing too much code related to the config parsing and vector database setup. I've created a new vigil/core/loader.py class to handle the dataset loading logic, and the main script now uses the vigil/vigil.py functions for setting up the vector database from the config.
Also added a new model to the schema to represent dataset rows
The main
loader.py
script was re-implementing too much code related to the config parsing and vector database setup. I've created a new vigil/core/loader.py class to handle the dataset loading logic, and the main script now uses thevigil/vigil.py
functions for setting up the vector database from the config.Also added a new model to the schema to represent dataset rows