From c0126c73120000d3b4c02c52514aeb74bd345ec0 Mon Sep 17 00:00:00 2001 From: cbh778899 Date: Sun, 4 Aug 2024 17:20:11 +1000 Subject: [PATCH] update the database route to make sense Signed-off-by: cbh778899 --- database/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/database/index.js b/database/index.js index 9f74943..9b029af 100644 --- a/database/index.js +++ b/database/index.js @@ -2,7 +2,7 @@ import * as lancedb from "@lancedb/lancedb"; import { get, post } from "../tools/request.js" import { Schema, Field, FixedSizeList, Int16, Float16, Utf8 } from "apache-arrow"; -const uri = "/database/lancedb/"; +const uri = "/tmp/lancedb/"; const db = await lancedb.connect(uri); const table = await db.createEmptyTable("rag_data", new Schema([