Extending the docs with an example response
porkbrain opened this issue · 4 comments
porkbrain commented
It'd be great to add an example successful response.data
to the README.md.
porkbrain commented
{
id: 'some-long-id',
object: 'text_completion',
created: 1616791508,
model: 'davinci:2020-05-03',
choices: [
{
text: " predicted text...",
index: 0,
logprobs: null,
finish_reason: 'length'
}
]
}
porkbrain commented
Alternatively, it'd be great to provide a link to the documentation and explain that the data object shown in the docs is equal to the data in the docs.
njerschow commented
Noted, thanks!
njerschow commented
added in v1.0.18