Learn R Programming

gitGPT (version 0.1.3)

generate_encoded_git_diff_output: Encode git diff output

Description

Takes the git diff output and encodes it for use in the API call to the 'OpenAI' 'GPT-3.5 Turbo' model.

Usage

generate_encoded_git_diff_output(git_diff_output)

Value

A character vector containing the URL-encoded git diff output.

Arguments

git_diff_output

A character vector containing the git diff output.

Examples

Run this code
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