The character limit for ChatGPT text prompts is 4096 characters, and
there’s also a limit of 4096 tokens per conversation. If you aren’t
sure how many tokens your prompt uses, you can calculate that with
OpenAI’s Tokenizer tool. ChatGPT 文本提示的字符限制為 4096 個(gè)字符,每個(gè)對(duì)話也有 4096
個(gè)令牌的限制。如果您不確定提示使用了多少令牌,則可以使用OpenAI的Tokenizer工具進(jìn)行計(jì)算。
Are you getting a character limit error on ChatGPT, or are you just curious to find out if this AI tool imposes any restrictions on the number of characters you can use in your queries or conversations? Let’s find out the answers to those questions in this guide.
您是否在 ChatGPT 上收到字符限制錯(cuò)誤,或者您只是想知道此 AI 工具是否對(duì)您可以在查詢或?qū)υ捴惺褂玫淖址麛?shù)施加任何限制?讓我們?cè)诒局改现姓业竭@些問(wèn)題的答案。
What’s the ChatGPT Text Limit? 什么是 ChatGPT 文本限制?
When it comes to text queries on ChatGPT, OpenAI imposes two different restrictions.
當(dāng)涉及到ChatGPT上的文本查詢時(shí),OpenAI施加了兩種不同的限制。
The first restriction is on the characters that you can enter using the input query box: you can’t enter a query longer than 4096 characters.
If your query exceeds that number, truncate it so that it’s within the allowed limit.
第一個(gè)限制是可以使用輸入查詢框輸入的字符:不能輸入超過(guò) 4096 個(gè)字符的查詢。如果查詢超過(guò)該數(shù)字,請(qǐng)截?cái)嗨?,使其在允許的限制范圍內(nèi)。
The second limit is on your conversations with ChatGPT. For this, OpenAI imposes a restriction of 4096 tokens per conversation. If your chat exceeds this limit, you’ll get an error message on the site.
第二個(gè)限制是您與 ChatGPT 的對(duì)話。為此,OpenAI 對(duì)每個(gè)對(duì)話施加了 4096 個(gè)令牌的限制。如果您的聊天超出此限制,您將在網(wǎng)站上收到一條錯(cuò)誤消息。
Note that one ChatGPT token isn’t necessarily one character. Tokens are calculated in a different ways, but generally, four characters equal one token.
請(qǐng)注意,一個(gè) ChatGPT 令牌不一定是一個(gè)字符。令牌的計(jì)算方式不同,但通常,四個(gè)字符等于一個(gè)令牌。
How to Convert Characters to Tokens on ChatGPT 如何在 ChatGPT 上將字符轉(zhuǎn)換為令牌
If you have a query that you wish to use on ChatGPT, but you aren’t sure how many tokens it will use, utilize ChatGPT’s online Tokenizer to perform the character-to-token conversion.
如果您希望在 ChatGPT 上使用查詢,但不確定它將使用多少令牌,請(qǐng)使用 ChatGPT 的在線分詞器來(lái)執(zhí)行字符到令牌的轉(zhuǎn)換。
To do that, open a web browser on your device and access the Tokenizer page. On this page, in the large text box, enter your full query.
為此,請(qǐng)?jiān)谀脑O(shè)備上打開(kāi) Web 瀏覽器并訪問(wèn) Tokenizer 頁(yè)面。在此頁(yè)上的大文本框中,輸入完整查詢。
Right beneath the text box, you’ll find the number of tokens that your query will use. You’ll also see the total number of characters in your query.
在文本框的正下方,你將找到查詢將使用的令牌數(shù)。您還將看到查詢中的字符總數(shù)。
That gives you an idea of whether or not you should be shrinking your prompt.
這讓您了解是否應(yīng)該縮小提示。
How to Get Around ChatGPT’s Character Limit 如何繞過(guò) ChatGPT 的字符限制
If your text query goes beyond ChatGPT’s allowed limit, but you’d still like the chatbot to answer your query, tweak your query in a few different ways to ensure it’s within the limit. Here are a few ideas on how to do that.
如果您的文本查詢超出了 ChatGPT 允許的限制,但您仍然希望聊天機(jī)器人回答您的查詢,請(qǐng)以幾種不同的方式調(diào)整您的查詢以確保它在限制范圍內(nèi)。這里有一些關(guān)于如何做到這一點(diǎn)的想法。
Be Specific in Your Query 在查詢中要具體
If you ask ChatGPT a broad question, the site will provide you with a broad answer, increasing the chance of exceeding the allowed character limit. To fix this, try to be as specific in your query as possible. This way, the site will also be very specific in its answer to your questions.
如果您向 ChatGPT 提出一個(gè)寬泛的問(wèn)題,該網(wǎng)站將為您提供廣泛的答案,從而增加超過(guò)允許字符限制的機(jī)會(huì)。若要解決此問(wèn)題,請(qǐng)嘗試在查詢中盡可能具體。這樣,該網(wǎng)站也將非常具體地回答您的問(wèn)題。
For example, instead of asking ChatGPT to write an article on elephants, ask it to write a 500-word article on Asian elephants. Since you’re being more specific here, ChatGPT will have a narrow-downed answer for your query.
例如,與其要求 ChatGPT 寫(xiě)一篇關(guān)于大象的文章,不如要求它寫(xiě)一篇關(guān)于亞洲象的 500 字文章。由于您在這里更具體,因此 ChatGPT 將為您的查詢提供縮小的答案。
Break Down Your Tasks 分解您的任務(wù)
Another way to ensure you’re within ChatGPT’s character limit is to break down your large task into multiple smaller tasks. Even if you receive an error in this case, you can start a new conversation and use your smaller tasks to get your queries answered.
確保您在 ChatGPT 的字符限制內(nèi)的另一種方法是將您的大型任務(wù)分解為多個(gè)較小的任務(wù)。即使在這種情況下收到錯(cuò)誤,也可以開(kāi)始新的對(duì)話并使用較小的任務(wù)來(lái)回答查詢。
For example, instead of asking ChatGPT to write an entire article, ask it to write the content for the introduction. Go one section at a time, and even if you run into issues, you can always start a new chat and keep going with your article headers.
例如,與其要求 ChatGPT 寫(xiě)整篇文章,不如要求它編寫(xiě)介紹的內(nèi)容。一次一個(gè)部分,即使您遇到問(wèn)題,您也可以隨時(shí)開(kāi)始新的聊天并繼續(xù)使用您的文章標(biāo)題。
Regenerate the Response 重新生成響應(yīng)
If ChatGPT has stopped responding to your query abruptly and you see a character limit error, get the site to generate a new response for your query by selecting the “Regenerate Response” option.
如果 ChatGPT 突然停止響應(yīng)您的查詢,并且您看到字符限制錯(cuò)誤,請(qǐng)通過(guò)選擇“重新生成響應(yīng)”選項(xiàng)讓站點(diǎn)為您的查詢生成新的響應(yīng)。文章來(lái)源:http://www.zghlxwxcb.cn/news/detail-552252.html
That will force the site to come up with an answer to your query again.
這將迫使網(wǎng)站再次為您的查詢提供答案。文章來(lái)源地址http://www.zghlxwxcb.cn/news/detail-552252.html
到了這里,關(guān)于What Is the Character Limit for ChatGPT? 聊天GPT的字符限制是多少?的文章就介紹完了。如果您還想了解更多內(nèi)容,請(qǐng)?jiān)谟疑辖撬阉鱐OY模板網(wǎng)以前的文章或繼續(xù)瀏覽下面的相關(guān)文章,希望大家以后多多支持TOY模板網(wǎng)!