Skip to content

Commit

Permalink
update the database route to make sense
Browse files Browse the repository at this point in the history
Signed-off-by: cbh778899 <cbh778899@outlook.com>
  • Loading branch information
cbh778899 committed Aug 4, 2024
1 parent 643ffef commit c0126c7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion database/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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([
Expand Down

0 comments on commit c0126c7

Please sign in to comment.