-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Modify Readme: Trim it down. Modify test-action for reference. Modify…
… action for naming. Modify review script for naming. remove Images.
- Loading branch information
1 parent
36f8e6f
commit 903866a
Showing
5 changed files
with
7 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,9 @@ | ||
# GPTReview 🤖🔍 | ||
# GPTReview Workflow 🤖🔍 | ||
|
||
Get OpenAI GPT models to suggest changes on your pull request in the comments! | ||
|
||
## Example output | ||
|
||
![example review](./images/example.png) | ||
|
||
[example 2](https://github.com/samjhill/GPTReview/pull/9) | ||
Get OpenAI GPT models to suggest changes on your pull request in the comments. | ||
|
||
## How to integrate into your repo: | ||
|
||
1. Copy the workflow from this repo's .github/workflows/test-action.yml into your project in the same location and modify it to suit your needs, if you'd like. | ||
|
||
|
||
2. Get an [OpenAI key here](https://openai.com/api/) | ||
|
||
|
||
3. Create a secret in your project's settings called OPENAI_API_KEY for your OpenAI API Key. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
import os | ||
import requests | ||
import json | ||
import subprocess | ||
import subprocess #is this still needed? | ||
import openai | ||
|
||
|
||
|