Module
x/openai/streaming.ts>ServerSentEvent
Deno build of the official Typescript library for the OpenAI API.
Extremely Popular
libresourcesshimsdefaultOpenAIClientOptionsAPIConnectionErrorAPIConnectionTimeoutErrorAPIErrorAPIUserAbortErrorAuthenticationErrorBadRequestErrorConflictErrorInternalServerErrorNotFoundErrorOpenAIErrorPermissionDeniedErrorRateLimitErrorUnprocessableEntityErrorAbstractPageAPIClientAPIPromisePagePromiseHeadersProtocolDefaultQueryFetchFinalRequestOptionsHeadersHeadersLikeKeysEnumPageInfoRequestClientRequestOptionsResponseUploadablecastToErrorcoerceBooleancoerceFloatcoerceIntegercreateFormcreateResponseHeadersensurePresentgetRequiredHeaderisHeadersProtocolisRequestOptionsisRunningInBrowsermaybeCoerceBooleanmaybeCoerceFloatmaybeCoerceIntegermaybeMultipartFormRequestOptionsmultipartFormRequestOptionsreadEnvsafeJSONsleeptoBase64debughasOwnisEmptyObjisObj
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