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

403 FORBIDDEN "The number of prompt tokens for free accounts is limited to 4096." 问题出现的原因 #198

Closed
MangoTY opened this issue Mar 20, 2024 · 7 comments

Comments

@MangoTY
Copy link

MangoTY commented Mar 20, 2024

微信截图_20240320102702

@Junjie-Jin
Copy link

刚刚申请,也是这个问题。请问解决了吗?

@ynpl
Copy link

ynpl commented Mar 22, 2024

免费key 最多4096 你这个太长了

@chatanywhere
Copy link
Owner

免费key限制了输入token(提问的问题总长度)最大为4096,你可以减少输入或者购买付费key并使用gpt-3.5-turbo-0125模型。
PS:你可能好奇明明你的问题很简短,不可能有4000字,但实际上这是zotero-gpt的原理导致的,它将你的文章拆分成小段落,然后根据你提出的问题匹配相关的段落,将原文段落和你的问题一起传给gpt让gpt做出回答,这种模式注定了你的输入问题总字数很容易超过4096。

@chatanywhere chatanywhere pinned this issue Mar 25, 2024
@chatanywhere chatanywhere changed the title 用过一段时间之后出现403 FORBIDDEN 403 FORBIDDEN "The number of prompt tokens for free accounts is limited to 4096." 问题出现的原因 Mar 25, 2024
@lujiashun1
Copy link

我的也是 但是我就输入了几个字

@bit-wayti
Copy link

没有需要的话,可以把“上下文的消息数量上限”调一调,我是这么搞的,有点用

@ynpl
Copy link

ynpl commented May 6, 2024

我的也是 但是我就输入了几个字

上下文, 不是你单次输入 你清空上下文就好了

@youfeilong
Copy link

我好像清空也没有用,只能调成3.5才有用

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

7 participants