May 4, 2011

Error: This model's maximum context length is 4097 tokens | CyberSEO Pro | Support Forum

Avatar

Lost password?
Advanced Search

— Forum Scope —




— Match —





— Forum Options —





Minimum search word length is 3 characters - maximum search word length is 84 characters

sp_TopicIcon
Error: This model's maximum context length is 4097 tokens
Topic Rating: 0 Topic Rating: 0 Topic Rating: 0 Topic Rating: 0 Topic Rating: 0 Topic Rating: 0 (0 votes) 
December 12, 2023
4:00 pm
Avatar
aziendaindigitale
Member
Members
Forum Posts: 3
Member Since:
February 7, 2023
sp_UserOfflineSmall Offline

Ciao a tutti, spero possiate aiutarmi. Ho installatao cyberseo pro sul mio sito di gossip e dovrebbe riscrivere gli articoli presi da un feed di un altro sito ma mi compare qnel log questo errore:

[12-12-23 02:34:45]Error: This model's maximum context length is 4097 tokens. However, your messages resulted in 9360 tokens. Please reduce the length of the messages.
[12-12-23 02:34:45] OpenAI was unable to complete the assignment. The post will not be added

Come posso risolvere il problema?

grazie

December 12, 2023
4:09 pm
Avatar
CyberSEO
Admin
Forum Posts: 3945
Member Since:
July 2, 2009
sp_UserOfflineSmall Offline

Different OpenAI GPT models have their limits on the number of tokens for input and output. Please refer to this table: Login to see this link

December 12, 2023
4:19 pm
Avatar
aziendaindigitale
Member
Members
Forum Posts: 3
Member Since:
February 7, 2023
sp_UserOfflineSmall Offline

e come faccio a far riscrivere un articolo riducendo il numero di token? Non tutti gli articoli del feed superano i 4097 token.

December 12, 2023
4:31 pm
Avatar
CyberSEO
Admin
Forum Posts: 3945
Member Since:
July 2, 2009
sp_UserOfflineSmall Offline

This is a limitation of the GPT model used. I assume you are using the GPT-4 Turbo model. Since it allows you to generate 4,096 tokens only (Login to see this link), then of course the resulting article will have to fit within these limits. Alternatively, you can use the GPT-3.5 Turbo 16k model, which supports up to 16,384 tokens.

December 12, 2023
4:36 pm
Avatar
aziendaindigitale
Member
Members
Forum Posts: 3
Member Since:
February 7, 2023
sp_UserOfflineSmall Offline

BASTEREBBE QUINDI ANDARE A SELEZIONARE gpt-3.5 tURBO 16 K DIRETTAMENTE NELLE IMPOSTAZIONI DEL FEED GIUSTO?

December 12, 2023
4:45 pm
Avatar
CyberSEO
Admin
Forum Posts: 3945
Member Since:
July 2, 2009
sp_UserOfflineSmall Offline

This depends on how exactly you are using the OpenAI GPT API in your feed settings. If you are using it in the Login to see this link in the "Post content" template box on the "Advanced" tab, you'll need to set its name like this:

[openai_gpt model="gpt-3.5-turbo-16k" prompt="..."]

Forum Timezone: Europe/Amsterdam

Most Users Ever Online: 541

Currently Online:
7 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

ninja321: 84

s.baryshev.aoasp: 68

Freedom: 61

Pandermos: 54

MediFormatica: 49

B8europe: 48

Member Stats:

Guest Posters: 337

Members: 2852

Moderators: 0

Admins: 1

Forum Stats:

Groups: 1

Forums: 5

Topics: 1640

Posts: 8350

Newest Members:

torontomark48, info.ckmedianetwork, contact.mybeautystar, samuelbodde, john.prush, creightonnick0

Administrators: CyberSEO: 3945