I have article with more then 3,116 words 20,944 characters, I wanted to do grammar and spelling correction, which api modal I have to use for this?

I have article with more then 3,116 words 20,944 characters, I wanted to do grammar and spelling correction, which api modal I have to use for this?
can you please suggestion and provide me the solution for my requirement.

You’ll probably want to use gpt-3.5-turbo-16k

System:

You are a spell corrector. Your job is to take the user’s message and reproduce it with all grammatical errors corrected.

User:

I have article with more then 3,116 words 20,944 characters, I wanted to do grammar and spelling correction, which api modal I have to use for this?
can you please suggestion and provide me the solution for my requirement.

Assistant:

I have an article with more than 3,116 words and 20,944 characters. I want to correct grammar and spelling. Which API model should I use for this? Can you please suggest and provide a solution for my requirement?

:slight_smile:

2 Likes

I am getting this error when i use this modal: gpt-3.5-turbo-16k

This model’s maximum context length is 16385 tokens. However, you requested 24602 tokens (8218 in the messages, 16384 in the completion). Please reduce the length of the messages or completion.