Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Update to 'gpt-4.0-turbo' version #6

Merged
merged 2 commits into from
Jan 11, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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-1106-preview'
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-1106-preview' # 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-1106-preview'
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-1106-preview"
openai_temperature_default = 0.5
openai_max_tokens_default = 2048
openai_extra_criteria_default = ""
Expand Down