OpenAI result not complete

WHen I run my request to openAT text-divinci 003 I get only the first part of the response - and finish reason say lenght

Hey @0ne,

This one just confused me, After digging through the OpenAI API docs and our node it looks like the response length is based on the maximum number of tokens. To adjust this you can add the option and change the value, It looks like the default for this is 16 (OpenAI API)

The maximum number of tokens to generate in the completion. Most models have a context length of 2048 tokens (except for the newest models, which support 4096).

1 Like

Oh I see interesting that worked, thank you for your help

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.