From 8a5ece10c20871bdbaa129f49e85cf193f13d9ea Mon Sep 17 00:00:00 2001 From: "Huu Le (Lee)" <39040748+leehuwuj@users.noreply.github.com> Date: Wed, 8 May 2024 10:14:34 +0700 Subject: [PATCH] chores: update wrong example system prompt and fix missing switch breaking (#75) --- helpers/env-variables.ts | 8 +------- helpers/python.ts | 1 + 2 files changed, 2 insertions(+), 7 deletions(-) diff --git a/helpers/env-variables.ts b/helpers/env-variables.ts index 5a91da6b..d410edfa 100644 --- a/helpers/env-variables.ts +++ b/helpers/env-variables.ts @@ -217,13 +217,7 @@ const getFrameworkEnvs = ( name: "SYSTEM_PROMPT", description: `Custom system prompt. Example: -SYSTEM_PROMPT=" -We have provided context information below. ---------------------- -{context_str} ---------------------- -Given this information, please answer the question: {query_str} -"`, +SYSTEM_PROMPT="You are a helpful assistant who helps users with their questions."`, }, ]; }; diff --git a/helpers/python.ts b/helpers/python.ts index 8c2d7bce..9141cd62 100644 --- a/helpers/python.ts +++ b/helpers/python.ts @@ -43,6 +43,7 @@ const getAdditionalDependencies = ( name: "llama-index-vector-stores-postgres", version: "^0.1.1", }); + break; } case "pinecone": { dependencies.push({ -- GitLab