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

Get bug here #92

Open
gongyuanze111 opened this issue Dec 19, 2023 · 1 comment
Open

Get bug here #92

gongyuanze111 opened this issue Dec 19, 2023 · 1 comment

Comments

@gongyuanze111
Copy link

I noticed that when I search for "In-situ Flow Information Telemetry", I will encounter an error written below:

openai.error.InvalidRequestError: This model's maximum context length is 8192 tokens, however you requested 12301 tokens (12301 in your prompt; 0 for the completion). Please reduce your prompt; or completion length.
sp20231219_112132_778
the same thing happened when I run it locally.
Please check your text length limit to see if the restriction you define don't meet with the token length limit.

@gongyuanze111
Copy link
Author

I think that the chunk you set is 1000, and the sentences length you require is larger than 8. that means that the text chunk you send to openai is possible to cause that problem, since it is larger than 8000.

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

1 participant