from set_context import set_context
# 用户名
user_name = 'User'
gpt_name = 'ChatGPT'
# 头像(svg格式) 来自 https://www.dicebear.com/playground?style=identicon
user_svg = """
"""
gpt_svg = """
"""
# 内容背景
user_background_color = ''
gpt_background_color = '#f1f3f5'
# 模型初始设置
model = "gpt-3.5-turbo"
initial_content_history = [{"role": 'system',
"content": '当你的回复中涉及代码块时,请在markdown语法中标明语言类型。如果不涉及,请忽略这句话。'}]
initial_content_all = {"history": initial_content_history,
"paras": {
"temperature": 1.0,
"top_p": 1.0,
"presence_penalty": 0.0,
"frequency_penalty": 0.0,
},
"contexts": {
'context_select': '不设置',
'context_input': '',
'context_level': 4
}}
# 上下文
set_context_all = {"不设置": ""}
set_context_all.update(set_context)
# 自定义css、js
css_code = """
"""
js_code = """
"""