diff --git a/templates/index.ts b/templates/index.ts index c9af6c180f8edf23ec8db05774ed9cefa858e785..13f499077c33249f58f66fc1d350c0a72d093c18 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")