updateSummary
codebolt.groupFeedback.updateSummary(params: IUpdateSummaryParams): Promise<IUpdateSummaryResponse>
Updates the summary of a feedback session, consolidating key points and action items.
Parameters
params(IUpdateSummaryParams): Parameters including feedbackId and the new summary content.
Returns
Promise<[IUpdateSummaryResponse](/docs/reference/type-reference/codeboltjs/interfaces/IUpdateSummaryResponse)>: A promise that resolves with the updated summary.
Examples
Example 1: Update Feedback Summary
import codebolt from '@codebolt/codeboltjs';
await codebolt.waitForReady();
const result = await codebolt.groupFeedback.updateSummary({
feedbackId: 'feedback-123',
summary: `Key Points:
- Code structure is well-organized
- Security concerns addressed
- Performance improvements suggested
Action Items:
1. Add rate limiting (assigned to John)
2. Implement caching (assigned to Sarah)
3. Add unit tests (assigned to Mike)`
});
console.log('Summary updated');
Common Use Cases
- Consolidate Feedback: Summarize key points
- Action Items: Document action items and assignments
- Meeting Notes: Create meeting summaries
Notes
- Useful for closing feedback loops
- Can be updated multiple times
- AI-generated summaries can be customized