Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: generate new meeting summaries for a team #10050

Merged
merged 44 commits into from
Aug 7, 2024

Conversation

nickoferrall
Copy link
Contributor

@nickoferrall nickoferrall commented Jul 30, 2024

Fix #10038

This PR lets Parabol super admins generate new meeting summaries for a team(s).

This is required to create a summary of summaries (#10017) as the old meeting summaries don't include quotes or links to the meeting.

Once a Parabol super admin generates new meeting summaries for a team, we'll then be able to get a better summary of summaries output.

I suggest reviewing this PR first, and then the parent: #10017

I'll create a follow-up PR that updates the meeting summary UI to handle the markdown links: #10040

I've added a Notion doc here as a guide to generate insights.

To test

  • Connect to staging: cloud-sql-proxy --address 0.0.0.0 --port 5433 parabol-saas-staging:us-central1:saas-staging-postgresql-clone-for-upgrade
  • Run the private mutation generateMeetingSummaries for a given team and see the updated summaries. For a team with many meetings, it could take 30-60+ seconds to run.

@nickoferrall nickoferrall removed the request for review from mattkrick July 30, 2024 14:25
.filter((row: any) =>
row('meetingType')
.eq('retrospective')
.and(row('createdAt').ge(twoYearsAgo))
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have this two year limit so that the mutation doesn't take too long, but we could remove it and just accept that it might take several minutes to complete? Otherwise, when building the Insights UI, we'll need to restrict summaries to the past two years

@nickoferrall nickoferrall requested a review from mattkrick July 30, 2024 14:55
await r
.table('NewMeeting')
.get(meeting.id)
.update({summary: newSummary, updatedAt: now})
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1 overwriting a user-facing value on an ad-hoc basis feels a little dirty. It means the experiments we run will be immediately visible to the user. Probably OK for now if we assume the prompt isn't going to change!

@nickoferrall nickoferrall requested a review from mattkrick July 31, 2024 14:36
@github-actions github-actions bot added size/xl and removed size/m labels Jul 31, 2024
@nickoferrall nickoferrall removed the request for review from mattkrick July 31, 2024 14:39
@github-actions github-actions bot added size/m and removed size/xl labels Jul 31, 2024
@nickoferrall nickoferrall requested a review from mattkrick July 31, 2024 14:49
@nickoferrall
Copy link
Contributor Author

Hey @mattkrick, bumping the review request on this one 🙏

@mattkrick
Copy link
Member

good to go! let's try it out & see what we learn

Base automatically changed from feat/summary-of-summaries to master August 7, 2024 09:58
@nickoferrall nickoferrall merged commit c497d9e into master Aug 7, 2024
6 checks passed
@nickoferrall nickoferrall deleted the feat/10038/new-meeting-summary branch August 7, 2024 14:53
@github-actions github-actions bot mentioned this pull request Aug 8, 2024
24 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Insights: create new meeting summaries for a team
2 participants