Database


Description:

public Database (Config2 config, string filename, int dimension) throws Error

Constructor.

Parameters:

config

The Config2 instance containing tool configuration

filename

Path to the FAISS index file

dimension

The embedding dimension (use embed_dimension() to obtain this), or DISABLE_INDEX to skip index creation