npm
.
openai
as you would if you had imported it directly.
pl_tags
pl_tags
argument. This allows you to track and group requests in the dashboard.
Tags are not required but we recommend them!
return_pl_id
return_pl_id
argument. When set to true, it returns a tuple where the second element is the request id.
OpenAI
class to typeof BaseOpenAI
to get the correct typings.
pl_tags
and return_pl_id
with TypeScript. You will need to add the @ts-ignore
comment to ignore the TypeScript error.
pl_tags
and return_pl_id
arguments are not part of the OpenAI API.