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

max tokens? #2

Open
ArielAssaf opened this issue May 23, 2023 · 4 comments
Open

max tokens? #2

ArielAssaf opened this issue May 23, 2023 · 4 comments

Comments

@ArielAssaf
Copy link

InvalidRequestError: This model's maximum context length is 4097 tokens, however you requested 4322 tokens (4066 in your prompt; 256 for the completion). Please reduce your prompt; or completion length.

I assume this is VectorStoreToolkit related, but i thought i'd bring it up here.

Thank you

@AIMads
Copy link

AIMads commented May 24, 2023

+1 have the same issue

@albertcolmenero
Copy link

+1 same issue

@Illia-the-coder
Copy link

To help with your concern, it might be a good idea to make your prompt or completion shorter. You can make it more concise by removing any extra details that aren't necessary. Another option is to sign up for the waitlist for GPT-4, which allows for up to 8000 tokens and can help solve this problem.

@Rasantis
Copy link

Rasantis commented Jun 2, 2023

same error...

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

5 participants