mirror of
https://github.com/langgenius/webapp-conversation.git
synced 2025-12-08 17:32:27 +08:00
chore: enchance app config
This commit is contained in:
@ -1,22 +1,17 @@
|
||||
import { AppInfo } from "@/types/app"
|
||||
export const APP_ID = ''
|
||||
export const API_KEY = ''
|
||||
export const APP_INFO = {
|
||||
"app_id": APP_ID,
|
||||
"site": {
|
||||
"title": "Chat APP",
|
||||
"description": null,
|
||||
"copyright": null,
|
||||
"privacy_policy": null,
|
||||
"default_language": "zh-Hans",
|
||||
"prompt_public": true
|
||||
},
|
||||
"prompt_config": {
|
||||
"introduction": "Chat APP",
|
||||
"prompt_template": "{{a}}", "prompt_variables": [{ "key": "a", "name": "a", "type": "string", "max_length": 48 }], "completion_params": { "max_token": 256, "temperature": 1, "top_p": 1, "presence_penalty": 0, "frequency_penalty": 0 }
|
||||
}
|
||||
|
||||
export const APP_INFO: AppInfo = {
|
||||
"title": 'Chat APP',
|
||||
"description": '',
|
||||
"copyright": '',
|
||||
"privacy_policy": '',
|
||||
"default_language": 'zh-Hans'
|
||||
}
|
||||
|
||||
|
||||
export const isShowPrompt = false
|
||||
export const promptTemplate = 'I want you to act as a javascript console.'
|
||||
|
||||
export const API_PREFIX = '/api';
|
||||
|
||||
|
||||
Reference in New Issue
Block a user