#POST api.openai.com/v1/engines/davinci/completions response issue

2 messages · Page 1 of 1 (latest)

turbid tinsel
#

When I make a POST request to the above endpoint, with the following payload:

{
prompt: 'Describe how a laptop works,
max_tokens: 100
}

The response text doesn't make any sense:

[{"text":"?\n\nGENERAL KNOWLEDGE\n\n2.Google hangout\n\ntwo momsers fighting with each other to which he is wrong,can u cliam for him when all second time is not work\n\nGENERAL KNOWLEDGE\n\n3.Microsoft Brings 4K Movies\n\nhow shadow tower is created\n\n4.GENERORL KNOWLEDGE\n\nsenior citizen because is nature of a buisness the banks invest on high risk and from ordinary"

If I change the prompt to something else, the same issue occurs.

wide spear
#

The /engines endpoint is deprecated, use /completions with the model parameter 🙂