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

Adjust code to changes announced today #340

Open
Niek opened this issue Nov 6, 2023 · 12 comments
Open

Adjust code to changes announced today #340

Niek opened this issue Nov 6, 2023 · 12 comments

Comments

@Niek
Copy link
Owner

Niek commented Nov 6, 2023

See: https://openai.com/blog/new-models-and-developer-products-announced-at-devday

In particular, new pricing and models.

@MitchBoss
Copy link
Contributor

MitchBoss commented Nov 7, 2023

I gave some of this a crack for you: #341 👍

@TeunvdWeij
Copy link

TeunvdWeij commented Nov 7, 2023

So will we be able to use gpt4-turbo and use images? That would be awesome!

And are plug-ins feasible?

@Niek
Copy link
Owner Author

Niek commented Nov 7, 2023

I have updated the prices now to match https://openai.com/pricing#language-models

There is supposed to be a gpt-4-1106-vision-preview model, but I have not seen it yet.

@lazaroagomez
Copy link

What about the 128K context? 😶 It's only letting me use 4096 Tokens

@dootss
Copy link

dootss commented Nov 7, 2023

What about the 128K context? 😶 It's only letting me use 4096 Tokens

1106 has 128k context token but has a maximum reply output of 4096 as far as i know

@MitchBoss
Copy link
Contributor

MitchBoss commented Nov 7, 2023

What about the 128K context? 😶 It's only letting me use 4096 Tokens

That's just max output - you just need to adjust the token threshold. :)

Screenshot 2023-11-08 at 09 48 05@1x

Screenshot 2023-11-08 at 09 49 41@2x

You are more likely to hit the api limits before you get close to 128k though: Error: 429 - Rate limit reached for gpt-4-1106-preview in organization org-xxx on tokens per min. Limit: 20000 / min. Please try again in 3ms. Visit https://platform.openai.com/account/rate-limits to learn more.

@SetoKaiba
Copy link

What about add gpt-4-1106-vision-preview as well?

@Niek
Copy link
Owner Author

Niek commented Nov 9, 2023

I don't see gpt-4-1106-vision-preview in the API yet. Not sure if that's because my account has no access to it yet, or if it simply isn't released yet?

@timothelaborie
Copy link

I don't see gpt-4-1106-vision-preview in the API yet. Not sure if that's because my account has no access to it yet, or if it simply isn't released yet?

The model is called gpt-4-vision-preview

@davkap92
Copy link

davkap92 commented Nov 9, 2023

Awesome project thanks, yeah the ability to drag an image into the chat and use the vision model would be awesome. https://platform.openai.com/docs/guides/vision?lang=python
I don't know if one can then continue chatting with vision model with context

@Niek
Copy link
Owner Author

Niek commented Nov 9, 2023

Ah, so gpt-4-vision-preview can be used to read images, and dall-e-3-* can be used to generate new ones.

This would definitely require some changes, as we need to support upload functionality.

@Ryan526
Copy link
Contributor

Ryan526 commented May 3, 2024

Ah, so gpt-4-vision-preview can be used to read images, and dall-e-3-* can be used to generate new ones.

This would definitely require some changes, as we need to support upload functionality.

Is the ability to upload images still something you might plan on adding to this?

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

9 participants