forked from open-webui/open-webui
feat: include default config.json
This commit is contained in:
parent
daa989b7dc
commit
3d10f21b3b
2 changed files with 35 additions and 0 deletions
1
backend/.gitignore
vendored
1
backend/.gitignore
vendored
|
@ -7,4 +7,5 @@ uploads
|
||||||
_test
|
_test
|
||||||
Pipfile
|
Pipfile
|
||||||
data/*
|
data/*
|
||||||
|
!data/config.json
|
||||||
.webui_secret_key
|
.webui_secret_key
|
34
backend/data/config.json
Normal file
34
backend/data/config.json
Normal file
|
@ -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."
|
||||||
|
},
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in a new issue