Skip to content

Commit 80a9208

Browse files
authored
Update README.md
1 parent cfa129b commit 80a9208

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@
8787
PORT = 5008
8888

8989
# System prompt sets up the character of the chatbot; change it if you want
90-
chatbot_character = '''You are a AI assistant'''
90+
system_prompt = '''You are a AI assistant'''
9191

9292
# Set maximum conversation exchanges or idle time gap to start a new conversatoin
9393
max_conversation_length = 20
@@ -104,7 +104,7 @@
104104

105105

106106
# 若要使用翻译功能,此处改为 True,并且需要申请一个DeepL的 api key:https://www.deepl.com/docs-api
107-
tranlsate_to_chinese = False # True or False;
107+
translate_to_chinese = False # True or False;
108108
# if True, the bot will send chinese translation for any non-chinese gpt response
109109
# 如果设置为 True,必须提供下面的 dl_key,否则会报错
110110
dl_key = None # the translation uses the DeepL api; hence an deepl api key is required;

0 commit comments

Comments
 (0)