Edited Sep 27, 9:50 AM by Ravi Bhanawat
Summaries are drafts for a human to approve. The model never posts to a client without someone clicking Send.
Flow
- A meeting note is saved with a transcript attached.
- The worker chunks the transcript and retrieves related docs from this workspace.
- The model drafts a summary with decisions and action items.
- The note owner reviews, edits and publishes it.
summary-job.tsts
1export const summaryJob = defineJob({2 name: "meeting.summarize",3 retries: 3,4 async run({ noteId }) {5 const note = await notes.get(noteId)6 const context = await retrieve(note.transcript, { limit: 6 })7 const draft = await model.generate({8 system: SUMMARY_PROMPT,9 input: { transcript: note.transcript, context },10 schema: SummarySchema,11 })12 await notes.attachDraft(noteId, draft)13 },14})Evaluation criteria
- Every action item has an owner
- No decision appears that was not in the transcript
- Summary fits on one screen
Eval work is tracked as Meeting summary prompt evals.
Comments