From 3d10f21b3b8d2ede724b2499c18dfcbeb560db8f Mon Sep 17 00:00:00 2001 From: "Timothy J. Baek" Date: Mon, 19 Feb 2024 19:28:34 -0800 Subject: [PATCH] feat: include default config.json --- backend/.gitignore | 1 + backend/data/config.json | 34 ++++++++++++++++++++++++++++++++++ 2 files changed, 35 insertions(+) create mode 100644 backend/data/config.json diff --git a/backend/.gitignore b/backend/.gitignore index 4dd0b8492..16180123c 100644 --- a/backend/.gitignore +++ b/backend/.gitignore @@ -7,4 +7,5 @@ uploads _test Pipfile data/* +!data/config.json .webui_secret_key \ No newline at end of file diff --git a/backend/data/config.json b/backend/data/config.json new file mode 100644 index 000000000..ad32624fa --- /dev/null +++ b/backend/data/config.json @@ -0,0 +1,34 @@ +{ + "ui": { + "prompt_suggestions": [ + { + "title": [ + "Help me study", + "vocabulary for a college entrance exam" + ], + "content": "Help me study vocabulary: write a sentence for me to fill in the blank, and I'll try to pick the correct option." + }, + { + "title": [ + "Give me ideas", + "for what to do with my kids' art" + ], + "content": "What are 5 creative things I could do with my kids' art? I don't want to throw them away, but it's also so much clutter." + }, + { + "title": [ + "Tell me a fun fact", + "about the Roman Empire" + ], + "content": "Tell me a random fun fact about the Roman Empire" + }, + { + "title": [ + "Show me a code snippet", + "of a website's sticky header" + ], + "content": "Show me a code snippet of a website's sticky header in CSS and JavaScript." + }, + ] + } +} \ No newline at end of file