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

openai.error maximum context length is 4097 token #4

Open
VeeDou opened this issue Mar 18, 2023 · 3 comments
Open

openai.error maximum context length is 4097 token #4

VeeDou opened this issue Mar 18, 2023 · 3 comments

Comments

@VeeDou
Copy link

VeeDou commented Mar 18, 2023

openai.error.InvalidRequestError: This model's maximum context length is 4097 tokens. However, your messages resulted in 4425 tokens. Please reduce the length of the messages.

@talkingwallace
Copy link
Owner

Hi, currently this repo does not support long articles due to the 4096 token limits of GPT-3.5-turbo

@austinmw
Copy link

austinmw commented May 9, 2023

Can you add chunking by section?

@Chapoly1305
Copy link

Ref #21

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

4 participants