mirror of
https://github.com/TriliumNext/Notes.git
synced 2025-08-11 11:02:27 +08:00
set up embedding providers here?
This commit is contained in:
parent
b97c8dd763
commit
1ff5bc6edd
@ -26,6 +26,10 @@ const scriptDir = dirname(fileURLToPath(import.meta.url));
|
|||||||
// Initialize DB
|
// Initialize DB
|
||||||
sql_init.initializeDb();
|
sql_init.initializeDb();
|
||||||
|
|
||||||
|
// Initialize embedding providers
|
||||||
|
const { initializeEmbeddings } = await import("./services/llm/embeddings/init.js");
|
||||||
|
await initializeEmbeddings();
|
||||||
|
|
||||||
// view engine setup
|
// view engine setup
|
||||||
app.set("views", path.join(scriptDir, "views"));
|
app.set("views", path.join(scriptDir, "views"));
|
||||||
app.set("view engine", "ejs");
|
app.set("view engine", "ejs");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user