powered by
Takes the git diff output and encodes it for use in the API call to the 'OpenAI' 'GPT-3.5 Turbo' model.
generate_encoded_git_diff_output(git_diff_output)
A character vector containing the URL-encoded git diff output.
A character vector containing the git diff output.
if (FALSE) { git_diff_output <- generate_git_diff_output() generate_encoded_git_diff_output(git_diff_output) }
Run the code above in your browser using DataLab