i am integrate GPT-3 text-davinci-003 algorithm with node js all working good but when we have pass token every time different but every time Same gives reply GPT-3 text-davinci-003 so please give me solution.
const response = await openai.createCompletion({
model: text-davinci-003,
prompt: 'what is javascript',
temperature: 0.05,
max_tokens: 1000,
top_p: 0.5,
frequency_penalty: 0,
presence_penalty: 0,
stop: ["END OF POLICY"]
});
i am passing 1000 token but this reply only give max token 160,180,210 like but i want to give large token reply