2024-01-15 12:33:15 +00:00
|
|
|
import { nicelog } from '@/utils/nicelog'
|
|
|
|
;(async function () {
|
2024-03-12 13:36:24 +00:00
|
|
|
nicelog('✔ Skipping vector db content!')
|
2024-01-15 12:33:15 +00:00
|
|
|
|
2024-03-12 13:36:24 +00:00
|
|
|
// nicelog('• Refreshing vector db content...')
|
2024-01-15 12:33:15 +00:00
|
|
|
|
2024-03-12 13:36:24 +00:00
|
|
|
// const db = await getVectorDb({
|
|
|
|
// rebuildIndex: false,
|
|
|
|
// updateContent: true,
|
|
|
|
// })
|
2024-01-15 12:33:15 +00:00
|
|
|
|
2024-03-12 13:36:24 +00:00
|
|
|
// const results = await db.query('editor')
|
2024-01-15 12:33:15 +00:00
|
|
|
|
2024-03-12 13:36:24 +00:00
|
|
|
// nicelog(results)
|
|
|
|
|
|
|
|
// nicelog('✔ Complete!')
|
2024-01-15 12:33:15 +00:00
|
|
|
process.exit()
|
|
|
|
})()
|