Skip to content

Commit 139863f

Browse files
committed
fix: profile agent prompt
1 parent e77e551 commit 139863f

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

oasis/user_profile_agent/agent.py

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ def _format_user_prompt(self, history: dict, profile: dict,
7575
* **Interaction Style**: Provide a descriptive text. Then, map the findings to 1-2 tags chosen from the EXACT `Valid InteractionStyleEnum Tags` list below.
7676
- **Valid `InteractionStyleEnum` Tags**: "Friendly & Supportive", "Formal & Professional", "Casual & Friendly", "Analytical & Inquisitive", "Supportive & Encouraging", "Humorous & Witty", "Direct & Straightforward", "Thoughtful & Reflective"
7777
* **Active Periods**: Select one or more tags from the EXACT `Valid ActivePeriodEnum Tags` list below.
78-
- **Valid `ActivePeriodEnum` Tags**: "上午", "下午", "晚上", "深夜"
78+
- **Valid `ActivePeriodEnum` Tags**: "Morning", "Afternoon", "Evening", "Night"
7979
8080
4. **Summarize Behavioral Patterns**:
8181
* Provide a qualitative summary text for `behavioral_summary`.
@@ -115,17 +115,17 @@ def _format_user_prompt(self, history: dict, profile: dict,
115115
"profile_summary": {
116116
"interests": ["Business Strategy", "Economics & Markets", "Hospitality Industry"],
117117
"preferences": {
118-
"content_style": "专业深度分析,结合行业经验分享实用见解",
118+
"content_style": "Professional in-depth analysis, sharing practical insights combined with industry experience",
119119
"content_style_tags": ["Professional Insights", "Educational & Tutorials"],
120-
"interaction_style": "正式专业但友好支持,乐于分享经验和建议",
120+
"interaction_style": "Formal and professional yet friendly and supportive, willing to share experience and advice",
121121
"interaction_style_tags": ["Formal & Professional", "Supportive & Encouraging"],
122-
"active_periods": ["下午", "晚上"]
122+
"active_periods": ["Afternoon", "Evening"]
123123
},
124-
"behavioral_summary": "用户表现为经验丰富的行业专家,积极参与专业讨论,乐于分享见解和建议,具有明显的思想领袖特质",
124+
"behavioral_summary": "User demonstrates expertise as an experienced industry professional, actively participating in professional discussions, eager to share insights and advice, with clear thought leadership qualities",
125125
"behavioral_archetype_tags": ["Thought Leader", "Knowledge Seeker"],
126126
"community_profile": {
127-
"affinity": "倾向于加入商业、经济和酒店旅游行业的专业社区,重视知识分享和行业交流",
128-
"potential_role": "在专业社区中担任经验分享者和指导者角色,为新人提供行业见解",
127+
"affinity": "Tends to join professional communities in business, economics, and hospitality industries, values knowledge sharing and industry exchange",
128+
"potential_role": "Acts as an experience sharer and mentor in professional communities, providing industry insights for newcomers",
129129
"potential_role_tags": ["Expert Contributor", "Mentor & Guide"]
130130
}
131131
}
@@ -149,7 +149,7 @@ def _format_user_prompt(self, history: dict, profile: dict,
149149
"content_style_tags": ["Long-form Posts", "Professional Insights"],
150150
"interaction_style": "Their tone is formal and professional, often engaging in inquisitive discussions.",
151151
"interaction_style_tags": ["Formal & Professional", "Analytical & Inquisitive"],
152-
"active_periods": ["晚上", "下午"]
152+
"active_periods": ["Evening", "Afternoon"]
153153
},
154154
"behavioral_summary": "The user follows a pattern of observing first, then engaging deeply as a content creator.",
155155
"behavioral_archetype_tags": ["Content Creator", "Thought Leader"],

0 commit comments

Comments
 (0)