chattercatcher 0.1.2 → 0.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cli.js +2 -2
- package/dist/cli.js.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -42,7 +42,6 @@ __export(lancedb_store_exports, {
|
|
|
42
42
|
LanceDbVectorStore: () => LanceDbVectorStore,
|
|
43
43
|
getLanceDbPath: () => getLanceDbPath
|
|
44
44
|
});
|
|
45
|
-
import * as lancedb from "@lancedb/lancedb";
|
|
46
45
|
import fs5 from "fs/promises";
|
|
47
46
|
import path8 from "path";
|
|
48
47
|
function getLanceDbPath(config) {
|
|
@@ -93,6 +92,7 @@ var init_lancedb_store = __esm({
|
|
|
93
92
|
tableName;
|
|
94
93
|
static async connect(uri, tableName = DEFAULT_TABLE_NAME) {
|
|
95
94
|
await fs5.mkdir(uri, { recursive: true });
|
|
95
|
+
const lancedb = await import("@lancedb/lancedb");
|
|
96
96
|
const connection = await lancedb.connect(uri);
|
|
97
97
|
return new _LanceDbVectorStore(connection, tableName);
|
|
98
98
|
}
|
|
@@ -3341,7 +3341,7 @@ function printSettings(config, secrets) {
|
|
|
3341
3341
|
2
|
|
3342
3342
|
));
|
|
3343
3343
|
}
|
|
3344
|
-
program.name("chattercatcher").description("\u672C\u5730\u4F18\u5148\u7684\u98DE\u4E66/Lark \u5BB6\u5EAD\u7FA4\u77E5\u8BC6\u673A\u5668\u4EBA").version("0.1.
|
|
3344
|
+
program.name("chattercatcher").description("\u672C\u5730\u4F18\u5148\u7684\u98DE\u4E66/Lark \u5BB6\u5EAD\u7FA4\u77E5\u8BC6\u673A\u5668\u4EBA").version("0.1.3");
|
|
3345
3345
|
program.command("setup").description("\u4EA4\u4E92\u5F0F\u521D\u59CB\u5316\u914D\u7F6E").action(async () => {
|
|
3346
3346
|
const { config, secrets } = await ensureConfigFiles();
|
|
3347
3347
|
await promptForConfiguration(config, secrets);
|