mirror of
https://github.com/TriliumNext/Notes.git
synced 2025-08-10 10:22:29 +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
|
||||
sql_init.initializeDb();
|
||||
|
||||
// Initialize embedding providers
|
||||
const { initializeEmbeddings } = await import("./services/llm/embeddings/init.js");
|
||||
await initializeEmbeddings();
|
||||
|
||||
// view engine setup
|
||||
app.set("views", path.join(scriptDir, "views"));
|
||||
app.set("view engine", "ejs");
|
||||
|
Loading…
x
Reference in New Issue
Block a user