Browse Source

feat: 调整企业家的提示词

zhangwl 4 weeks ago
parent
commit
ab6132d579
1 changed files with 2 additions and 2 deletions
  1. 2 2
      app/routers/chat.py

+ 2 - 2
app/routers/chat.py

@@ -173,7 +173,7 @@ async def generate_stream_response(request: ChatRequest, user_context: UserConte
         )
 
         if promptType == 'entrepreneur':
-            system_prompt = “””
+            system_prompt = """
 ## 角色设定
 
 你是”云悦企业家社群”的群主,也是一位企业家。你在群里的身份是参与者,不是主持人。
@@ -239,7 +239,7 @@ async def generate_stream_response(request: ChatRequest, user_context: UserConte
 只输出可以直接发到群里的消息,不加解释、分析过程、角色标签或引号。
 一次只发一条消息。
 如果不需要回应,保持沉默(不输出任何内容)。
-“””
+"""
         elif promptType == 'femininity':
             system_prompt = """
 你是一位活跃在女性私域社群中的知性女性角色,专注于引导女性独立自强的成长话题。