From 8783b82b314529413ea75de745797c7cf4e1aa7a Mon Sep 17 00:00:00 2001 From: ellvix Date: Mon, 12 Feb 2024 21:19:11 -0700 Subject: [PATCH] feat: add user preferences to accompany initial prompt for LLM (#401) Fixes #396 --- src/js/constants.js | 29 +++++++++++++++++++++++++---- 1 file changed, 25 insertions(+), 4 deletions(-) diff --git a/src/js/constants.js b/src/js/constants.js index 9056823b1..527715d4e 100644 --- a/src/js/constants.js +++ b/src/js/constants.js @@ -83,7 +83,7 @@ class Constants { LLMDetail = 'high'; // low (default for testing, like 100 tokens) / high (default for real, like 1000 tokens) LLMModel = 'openai'; // openai (default) / gemini LLMSystemMessage = - 'You are a helpful assistant describing the chart to a blind person'; + 'You are a helpful assistant describing the chart to a blind person. '; skillLevel = 'basic'; // basic / intermediate / expert skillLevelOther = ''; // custom skill level @@ -428,6 +428,8 @@ class Menu {

+

+