I'd imagine you'd use a specific sequence of prompts to interrogate the code according to a predefined script?
Re:ChatGPT powered GitHub code review app
by marceloabsousa on Tuesday March 07, 2023 @05:57PM
(#35062522)
This is harder than it seems. The way we are doing with Robin (Reviewpad's AI Reviewer) is by feeding it context about the PR and results from our static analysers and allowing the developer to prompt directly through the PR comment. For example, https://github.com/marcelosousa/robin-preview/pull/2
Re:ChatGPT powered GitHub code review app
by winkmaster on Wednesday March 08, 2023 @07:00AM
(#35067964)
The goal is to provide more context to the model and use the changes with the title and description of the PR to get a review, while asking for improvements and suggestions.
Additionally, how is this app able to handle so many potential requests to openai? Are they already paying for a bunch of tokens in anticipation? Or do you pay for how many tokens used per month? (The openai pricing is a little confusing since there's so much you can do.)
Thanks for any insight