-
Notifications
You must be signed in to change notification settings - Fork 4k
How to work with maximum context length is 2049 tokens? #46
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
Comments
Try the Openai Forums |
Hi @SeaDude, thanks for the issue! I'd agree with @sagar1025. Please check out the forums and let [email protected] know if you have any issues |
baseprime
pushed a commit
to breezerfp/breeze-openai
that referenced
this issue
Mar 20, 2024
* Revamp cli args (openai#45) * Rachel/follow (openai#46) * Add fine_tunes.follow. Add better error handling for disconnected streams * return early * fix an oops * lint * Nicer strings * ensure end token is not applied to classification (openai#44) * ensure end token is not applied to classification * black Co-authored-by: Boris Power <[email protected]>
cgayapr
pushed a commit
to cgayapr/openai-python
that referenced
this issue
Dec 14, 2024
* Revamp cli args (openai#45) * Rachel/follow (openai#46) * Add fine_tunes.follow. Add better error handling for disconnected streams * return early * fix an oops * lint * Nicer strings * ensure end token is not applied to classification (openai#44) * ensure end token is not applied to classification * black Co-authored-by: Boris Power <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
I'd like to send the OpenAI's API, the text from various PDF's. Specifically, the Summarize for a 2nd grader or the TL;DR summarization API's.
I can extract the text from PDF's using
PyMuPDF
and prepare the OpenAI prompt.Question: How best to prepare the
prompt
when the token count is longer than the allowed 2049?The text was updated successfully, but these errors were encountered: