test/ 调整prompt,提高共情能力
This commit is contained in:
@@ -200,6 +200,7 @@ async def websocket_endpoint(
|
||||
grew_up_place=user.grew_up_place,
|
||||
occupation=user.occupation,
|
||||
)
|
||||
era_place = (user.grew_up_place or user.birth_place or "") or ""
|
||||
opening_messages = (
|
||||
await chat_orchestrator.generate_opening_message(
|
||||
conversation_id=conversation_id,
|
||||
@@ -209,6 +210,8 @@ async def websocket_endpoint(
|
||||
user.occupation
|
||||
),
|
||||
occupation=user.occupation or "",
|
||||
profile_birth_year=user.birth_year,
|
||||
profile_era_place=era_place,
|
||||
)
|
||||
)
|
||||
ai_msg_id = await ConversationHistoryStore(
|
||||
|
||||
Reference in New Issue
Block a user