Skip to content

Commit 2e549c4

Browse files
committed
[fix]: 完善提示词
1 parent 6e4d0aa commit 2e549c4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/api/v1/endpoints/aichat.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ async def generate_notes(
3030
messages = json.loads(history)
3131
else:
3232
# 首轮对话可加 system prompt
33-
messages = [{"role": "system", "content": "你是一个智能笔记助手。"}]
33+
messages = [{"role": "system", "content": "你是一个智能笔记助手。我们设置了笔记管理系统,我们做了以下功能:文献上传、文献搜索、文献推荐、文献笔记、文献综述、思维导图生成等。请根据用户输入生成相关内容。"}]
3434

3535
# 2. 追加用户输入
3636
messages.append({"role": "user", "content": input.input})

0 commit comments

Comments
 (0)