Skip to content

Commit

Permalink
chore(chatgpt-reviewer): Change to 'gpt-4.0-turbo' version
Browse files Browse the repository at this point in the history
  • Loading branch information
esloch committed Jan 11, 2024
1 parent e85e50b commit cac99f2
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test_action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
# uses: osl-incubator/[email protected]
with:
openai_api_key: ${{ secrets.OPENAI_API_KEY }}
openai_model: 'gpt-3.5-turbo'
openai_model: 'gpt-4.0-turbo'
openai_temperature: 0.5
openai_max_tokens: 2048
openai_extra_criteria: | # optional, use `;` for separate the criteria items
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Include the following into your github actions step
uses: osl-incubator/[email protected]
with:
openai_api_key: ${{ secrets.OPENAI_API_KEY }} # required
openai_model: 'gpt-3.5-turbo' # optional
openai_model: 'gpt-4.0-turbo' # optional
openai_temperature: 0.5 # optional
openai_max_tokens: 2048 # optional
openai_extra_criteria: | # optional, use `;` for separate the criteria items
Expand Down
2 changes: 1 addition & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ inputs:
openai_model:
description: 'OpenAI Model'
required: false
default: 'gpt-3.5-turbo'
default: 'gpt-4.0-turbo'
openai_temperature:
description: 'Temperature fo randomness, 0 is more conservative and 1 is more creative.'
required: false
Expand Down
2 changes: 1 addition & 1 deletion main.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ def _config_gh(self):
self.gh_api = Github(self.gh_token)

def _config_openai(self):
openai_model_default = "gpt-3.5-turbo"
openai_model_default = "gpt-4.0-turbo"
openai_temperature_default = 0.5
openai_max_tokens_default = 2048
openai_extra_criteria_default = ""
Expand Down

0 comments on commit cac99f2

Please sign in to comment.