const sqlite3 = require('better-sqlite3');
const db = new sqlite3('server/data/metadata.db');
try {
    const results = db.prepare("SELECT * FROM model_configs WHERE modelId = 'text-embedding-v4'").all();
    console.log('Results for text-embedding-v4:', JSON.stringify(results, null, 2));

    const count = db.prepare("SELECT COUNT(*) as cnt FROM model_configs").get();
    console.log('Total model configs:', count.cnt);
} catch (e) {
    console.error(e.message);
}
