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.InvalidRequestError: This model's maximum context length is 8191 tokens, however you requested 14626 tokens (14626 in your prompt; 0 for the completion). #1

Closed
2 tasks done
Leedefend opened this issue Apr 18, 2023 · 2 comments

Comments

@Leedefend
Copy link

⚠️ Search for existing issues first ⚠️

  • I have searched the existing issues, and there is no existing issue for my problem

GPT-3 or GPT-4

  • I am using Auto-GPT with GPT-3 (GPT-3.5)

Steps to reproduce 🕹

No response

Current behavior 😯

No response

Expected behavior 🤔

No response

Your prompt 📝

使用中文版的Auto-GPT始终会出现这个问题,调用openAI时tokens长度超限,求解决!
@AlexANSO
Copy link

这个是本身的限制,是咱的数据太大了,超过了限制8191tokens

@kaqijiang
Copy link
Owner

或者你可以描述任务的时候少一些。

kaqijiang pushed a commit that referenced this issue Apr 24, 2023
* refactor: 汉化prompt,减少gpt生成回复的冲突 (#1)

* refactor: 优化triggering_prompt

1.修改triggering_prompt,降低gpt回复格式的出错率
2.一些代码语法的修改

* refactor: 优化triggering_prompt

1.修改triggering_prompt,降低gpt回复格式的出错率
2.一些代码语法的修改
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

3 participants