@storecraft/database-turso 1.0.12 → 1.0.13

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@storecraft/database-turso",
3
- "version": "1.0.12",
3
+ "version": "1.0.13",
4
4
  "description": "`Storecraft` database driver for `Turso` (cloud sqlite)",
5
5
  "license": "MIT",
6
6
  "author": "Tomer Shalev (https://github.com/store-craft)",
@@ -190,11 +190,11 @@ export class LibSQLVectorStore {
190
190
  );
191
191
  }
192
192
 
193
- aa;
194
193
  /** @type {VectorStore["similaritySearch"]} */
195
194
  similaritySearch = async (query, k, namespaces) => {
196
- console.log({query,k,namespaces})
197
- const embedding_result = this.aa = this.aa ? this.aa : await this.embedder.generateEmbeddings(
195
+ // console.log({query,k,namespaces})
196
+
197
+ const embedding_result = await this.embedder.generateEmbeddings(
198
198
  {
199
199
  content: [
200
200
  {