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

add support for new OpenAI models, update pricing #339

Merged
merged 1 commit into from
Jun 16, 2023
Merged

add support for new OpenAI models, update pricing #339

merged 1 commit into from
Jun 16, 2023

Conversation

nihit
Copy link
Contributor

@nihit nihit commented Jun 16, 2023

Support for gpt-3.5-turbo-0613, gpt-3.5-turbo-16k and updated pricing for gpt-3.5-turbo models

Tested civil comments with the following model config:

 "model": {
        "provider": "openai",
        "name": "gpt-3.5-turbo-0613"
    }

@@ -77,7 +77,6 @@ def test_gpt35_label(mocker):
)
x = model.label(prompts)
assert [i[0].text for i in x[0].generations] == ["Answers", "Answers"]
assert x[1] == approx(1.2e-05, rel=1e-3)
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this function checks for labeling only. we should test for pricing only it the following test after this one

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

cleaning up

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants