diff --git a/node/src/remote/index.ts b/node/src/remote/index.ts index 29f8a2fb..0f2d3857 100644 --- a/node/src/remote/index.ts +++ b/node/src/remote/index.ts @@ -140,6 +140,9 @@ export class RemoteConnection implements Connection { schema = nameOrOpts.schema embeddings = nameOrOpts.embeddingFunction tableName = nameOrOpts.name + if (data === undefined) { + data = nameOrOpts.data + } } let buffer: Buffer