generate_commit_message | R Documentation |
Generates a commit message by making an API call to the 'OpenAI' 'GPT-3.5 Turbo' model using the encoded git diff output as input.
generate_commit_message(encoded_git_diff_output)
encoded_git_diff_output |
A character vector containing the URL-encoded git diff output. |
A character vector of length 1 containing the generated commit message.
## Not run:
# Sends the encoded git diff to GPT and returns a
# character vector containing the commit message:
git_diff_output <- generate_git_diff_output()
edo <- generate_encoded_git_diff_output(git_diff_output)
enerate_commit_message(edo)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.