From 232b633a3286db1d667c0a9771766ee0d5c6a006 Mon Sep 17 00:00:00 2001 From: thucpn <thucsh2@gmail.com> Date: Mon, 25 Dec 2023 15:53:07 +0700 Subject: [PATCH] fix: path to typescript folder --- templates/index.ts | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/templates/index.ts b/templates/index.ts index c9af6c18..13f49907 100644 --- a/templates/index.ts +++ b/templates/index.ts @@ -187,7 +187,12 @@ const installTSTemplate = async ({ vectorDBFolder = vectorDb; } - const VectorDBPath = path.join(compPath, "vectordbs", vectorDBFolder); + const VectorDBPath = path.join( + compPath, + "vectordbs", + "typescript", + vectorDBFolder, + ); relativeEngineDestPath = framework === "nextjs" ? path.join("app", "api", "chat") -- GitLab