mirror of
https://github.com/rowboatlabs/rowboat.git
synced 2026-05-28 19:05:31 +02:00
11 lines
No EOL
383 B
TypeScript
11 lines
No EOL
383 B
TypeScript
import '../lib/loadenv';
|
|
import { qdrantClient } from '../lib/qdrant';
|
|
|
|
(async () => {
|
|
try {
|
|
const result = await qdrantClient.deleteCollection('embeddings');
|
|
console.log(`Delete qdrant collection 'embeddings' completed with result: ${result}`);
|
|
} catch (error) {
|
|
console.error(`Unable to delete qdrant collection 'embeddings': ${error}`);
|
|
}
|
|
})(); |