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

How to use more recent models? #17

Open
hypericon opened this issue Apr 2, 2024 · 3 comments
Open

How to use more recent models? #17

hypericon opened this issue Apr 2, 2024 · 3 comments

Comments

@hypericon
Copy link

hello, I've tried to use more recent models, but it doesn't seem to work..
any hint?

 data = {
        "model": "gpt-4-1106",
        "messages": messages,
        "max_tokens": 300,
        "temperature": 0.5
    }

ty

@k4l1sh
Copy link
Owner

k4l1sh commented Apr 4, 2024

gpt-4-1106 does not exist
check the available models in https://platform.openai.com/docs/models/gpt-4-and-gpt-4-turbo
it works well for gpt-4-turbo-preview and gpt-4-0125-preview

@hypericon
Copy link
Author

hypericon commented Apr 4, 2024 via email

@somm-doe
Copy link

somm-doe commented Jun 12, 2024

Hey @k4l1sh, thanks a lot for making this! As @hypericon mentioned earlier, the newer models initially didn’t seem to work. However, after adding funds to my API account and setting everything up properly, all the new models worked as well:
gpt-4o
gpt-4o-2024-05-13
gpt-4-turbo
gpt-4-turbo-preview

Before that, I received the following errors:
Error 404: The model xxx does not exist or you do not have access to it.
/
Error 403: Project xxx does not have access to model xxx

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

No branches or pull requests

3 participants