You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: services/apps/members_enrichment_worker/src/activities/llm.ts
+4Lines changed: 4 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -272,6 +272,10 @@ export async function squashWorkExperiencesWithLLM(
272
272
If multiple roles from the same organization overlap in time IN DIFFERENT SOURCES, squash them into one entry with a unified startDate, endDate, and picked information (e.g., job titles, descriptions).
273
273
Preserve all unique identities and consolidate other fields appropriately.
274
274
If necessary, ONLY merge dateRanges and NEVER merge titles together, but pick the one that best represents the role.
275
+
Job Titles:
276
+
Return only a concise professional job title (e.g. "Software Engineer", "Engineering Manager").
277
+
Do not return job descriptions, responsibilities, or full sentences.
278
+
If the input is a description, infer the most appropriate professional job title.
275
279
Handle Missing Dates:
276
280
Use logical assumptions to fill gaps where possible, always using existing date information but nothing else.
277
281
If there is a role with a missing startDate and a missing endDate, and there's also another role from same or similar organization with dates, you can remove the role with missing dates.
0 commit comments