From 0914d6ec1e1a3090c44466736012eb6caf4fe9b0 Mon Sep 17 00:00:00 2001
From: Alex Yang <himself65@outlook.com>
Date: Sun, 14 Jan 2024 18:10:33 -0600
Subject: [PATCH] fix(create-llama): component choice (#377)

---
 questions.ts | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/questions.ts b/questions.ts
index 0694d7af..ea130e36 100644
--- a/questions.ts
+++ b/questions.ts
@@ -40,7 +40,7 @@ const getVectorDbChoices = (framework: TemplateFramework) => {
   ];
 
   const vectodbLang = framework === "fastapi" ? "python" : "typescript";
-  const compPath = path.join(__dirname, "components");
+  const compPath = path.join(__dirname, "..", "templates", "components");
   const vectordbPath = path.join(compPath, "vectordbs", vectodbLang);
 
   const availableChoices = fs
-- 
GitLab