Closed cmastro closed 3 months ago
This project is undergoing a major revamp; closing out old issues as part of the prep process.
The chatgpt
package is pretty outdated at this point. I recommend that you use the openai package or the openai-fetch package instead.
Verify latest release
chatgpt
releaseVerify webapp is working
Environment details
Describe the Bug
I have 100 arrays and I want to add them as pre-prompts.
Array example:
I'm trying to add it at the begining of the conversation with this code:
But I get the maximum context length tokens error:
This model's maximum context length is 4097 tokens. However, you requested 4159 tokens (2159 in the messages, 2000 in the completion). Please reduce the length of the messages or completion.
Is there a way to send big prompts to ChatGPT?
Thanks!