Module
x/openai/mod.ts>OpenAI.ChatCompletionMessage
Deno build of the official Typescript library for the OpenAI API.
Extremely Popular
libresourcesshimsdefaultOpenAIClientOptionsAPIConnectionErrorAPIConnectionTimeoutErrorAPIErrorAPIUserAbortErrorAuthenticationErrorBadRequestErrorConflictErrorInternalServerErrorNotFoundErrorOpenAIErrorPermissionDeniedErrorRateLimitErrorUnprocessableEntityErrorAbstractPageAPIClientAPIPromisePagePromiseHeadersProtocolDefaultQueryFetchFinalRequestOptionsHeadersHeadersLikeKeysEnumPageInfoRequestClientRequestOptionsResponseUploadablecastToErrorcoerceBooleancoerceFloatcoerceIntegercreateFormcreateResponseHeadersensurePresentgetRequiredHeaderisHeadersProtocolisRequestOptionsisRunningInBrowsermaybeCoerceBooleanmaybeCoerceFloatmaybeCoerceIntegermaybeMultipartFormRequestOptionsmultipartFormRequestOptionsreadEnvsafeJSONsleeptoBase64debughasOwnisEmptyObjisObjAPIConnectionErrorAPIConnectionTimeoutErrorAPIErrorAPIUserAbortErrorAuthenticationErrorBadRequestErrorConflictErrorInternalServerErrorNotFoundErrorOpenAIErrorPermissionDeniedErrorRateLimitErrorUnprocessableEntityError
mod.ts (default module)
N
N
c
I
v
v
v
v
v
v
v
v
v
v
v
v
v
core.ts
c
c
c
c
I
T
T
T
T
T
T
T
T
T
T
T
v
v
v
v
v
v
v
v
v
v
v
v
v
v
v
v
v
v
v
v
f
f
f
f
error.ts
c
c
c
c
c
c
c
c
c
c
c
c
c