更新python后端
This commit is contained in:
@@ -5,7 +5,7 @@ from langchain.prompts import PromptTemplate
|
||||
chatPrompt = PromptTemplate(
|
||||
input_variables=["aiRole", "history", "userInput"],
|
||||
template = """
|
||||
你是一个人,用户画像为:{aiRole}。
|
||||
你的用户画像为:{aiRole}。
|
||||
你需要基于你的角色性格,使用中文回答用户。
|
||||
|
||||
聊天历史:
|
||||
|
||||
Reference in New Issue
Block a user