import { type ChatCompletionCreateParams } from "https://deno.land/x/openai@v4.61.1/resources/mod.ts";
const { ChatCompletionCreateParamsStreaming } = ChatCompletionCreateParams;
Module
x/openai/resources/mod.ts>ChatCompletionCreateParams.ChatCompletionCreateParamsStreaming
Deno build of the official Typescript library for the OpenAI API.
Extremely Popular
audiobetachatfine-tuninguploadsAudioBatchBatchesBetaChatChatCompletionChatCompletionAssistantMessageParamChatCompletionChunkChatCompletionContentPartImageChatCompletionCreateParamsChatCompletionMessageChatCompletionMessageToolCallChatCompletionNamedToolChoiceChatCompletionTokenLogprobCompletionChoiceCompletionCreateParamsCompletionsCompletionUsageCreateEmbeddingResponseEmbeddingsFilesFineTuningImagesModelsModerationModerationsResponseFormatJSONSchemaUploadsBatchesPageFileObjectsPageModelsPageBatchCreateParamsBatchErrorBatchListParamsBatchRequestCountsChatCompletionContentPartRefusalChatCompletionContentPartTextChatCompletionCreateParamsNonStreamingChatCompletionCreateParamsStreamingChatCompletionFunctionCallOptionChatCompletionFunctionMessageParamChatCompletionStreamOptionsChatCompletionSystemMessageParamChatCompletionToolChatCompletionToolMessageParamChatCompletionUserMessageParamCompletionCompletionCreateParamsNonStreamingCompletionCreateParamsStreamingEmbeddingEmbeddingCreateParamsErrorObjectFileCreateParamsFileDeletedFileListParamsFileObjectFunctionDefinitionImageImageCreateVariationParamsImageEditParamsImageGenerateParamsImagesResponseModelModelDeletedModerationCreateParamsModerationCreateResponseResponseFormatJSONObjectResponseFormatTextUploadUploadCompleteParamsUploadCreateParamsAudioModelChatCompletionContentPartChatCompletionMessageParamChatCompletionRoleChatCompletionToolChoiceOptionChatModelCreateChatCompletionRequestMessageFileContentFilePurposeFunctionParametersImageModelModerationModelBatchBatchesBatchesPageBatchCreateParamsBatchErrorBatchListParamsBatchRequestCountsCompletionChoiceCompletionCreateParamsCompletionsCompletionUsageCompletionCompletionCreateParamsBaseCompletionCreateParamsNonStreamingCompletionCreateParamsStreamingFilesFileObjectsPageFileCreateParamsFileDeletedFileListParamsFileObjectFileContentFilePurposeImagesImageImageCreateVariationParamsImageEditParamsImageGenerateParamsImagesResponseImageModel
mod.ts (default module)
N
c
N
I
N
c
N
c
N
c
N
I
N
I
N
I
N
I
N
T
N
I
N
I
N
I
N
I
N
I
N
T
N
c
N
I
N
I
N
c
N
c
N
c
N
c
N
c
N
I
N
c
N
I
N
c
c
c
c
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
T
I
T
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
T
T
T
T
T
T
T
T
T
T
T
T
batches.ts
N
I
N
c
c
I
I
I
I
completions.ts
N
I
N
T
N
c
N
I
I
I
I
I
files.ts
N
c
c
I
I
I
I
T
T
images.ts
N
c
I
I
I
I
I
T