Skip to content
This repository has been archived by the owner on Mar 6, 2024. It is now read-only.

async summarization #55

Merged
merged 3 commits into from
Mar 19, 2023
Merged

async summarization #55

merged 3 commits into from
Mar 19, 2023

Conversation

harjotgill
Copy link
Contributor

@harjotgill harjotgill commented Mar 19, 2023

Summary by OpenAI

Release Notes

New Feature: This pull request adds the generateSummary function to summarize changes made to each file being reviewed. The codeReview function now creates an array of promises for each file to be reviewed using the generateSummary function, filters out any null values, and concatenates the summaries into one string to generate the final summary. This feature improves the code review process by providing a concise summary of changes made to each file.

@github-actions
Copy link
Contributor

github-actions bot commented Mar 19, 2023

🤖 OpenAI

Thank you for letting me participate in the code review.

The purpose of this pull request is to modify the codeReview function in src/review.ts to add a new function called generateSummary that summarizes the changes made to each file being reviewed. The codeReview function creates an array of promises for each file to be reviewed using the generateSummary function, filters out any null values, and concatenates the summaries into one string to generate the final summary.


File Summary
src/review.ts Modifies the codeReview function to add generateSummary function that summarizes changes made to each file being reviewed. Creates an array of promises for each file to be reviewed, filters out null values, and concatenates summaries into one string to generate the final summary.

Tips:

  • You can reply on the review comment left by this bot to ask follow-up questions.
  • You can invite the bot into a review conversation by typing @openai in the beginning of the comment.

@harjotgill harjotgill added this pull request to the merge queue Mar 19, 2023
@harjotgill harjotgill merged commit 0de2a9e into main Mar 19, 2023
@harjotgill harjotgill deleted the async_summarization branch March 19, 2023 04:38
shoyuf pushed a commit to maybeLab/openai-mr-reviewer-gltlab that referenced this pull request Jun 25, 2023
<!-- This is an auto-generated comment: release notes by openai -->
### Summary by OpenAI

**Release Notes**

New Feature: This pull request adds the `generateSummary` function to
summarize changes made to each file being reviewed. The `codeReview`
function now creates an array of promises for each file to be reviewed
using the `generateSummary` function, filters out any null values, and
concatenates the summaries into one string to generate the final
summary. This feature improves the code review process by providing a
concise summary of changes made to each file.
<!-- end of auto-generated comment: release notes by openai -->
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant