import { type ChatCompletionNamedToolChoice } from "https://deno.land/x/openai@v4.64.0/resources/mod.ts";
const { Function } = ChatCompletionNamedToolChoice;
Module
x/openai/resources/mod.ts>ChatCompletionNamedToolChoice.Function
Deno build of the official Typescript library for the OpenAI API.
Extremely Popular
audiobetachatfine-tuninguploadsAudioBatchBatchesBetaChatChatCompletionChatCompletionAssistantMessageParamChatCompletionChunkChatCompletionContentPartImageChatCompletionCreateParamsChatCompletionMessageChatCompletionMessageToolCallChatCompletionNamedToolChoiceChatCompletionTokenLogprobCompletionChoiceCompletionCreateParamsCompletionsCompletionUsageCreateEmbeddingResponseEmbeddingsFilesFineTuningImagesModelsModerationModerationsResponseFormatJSONSchemaUploadsBatchesPageFileObjectsPageModelsPageBatchCreateParamsBatchErrorBatchListParamsBatchRequestCountsChatCompletionContentPartRefusalChatCompletionContentPartTextChatCompletionCreateParamsNonStreamingChatCompletionCreateParamsStreamingChatCompletionFunctionCallOptionChatCompletionFunctionMessageParamChatCompletionStreamOptionsChatCompletionSystemMessageParamChatCompletionToolChatCompletionToolMessageParamChatCompletionUserMessageParamCompletionCompletionCreateParamsNonStreamingCompletionCreateParamsStreamingEmbeddingEmbeddingCreateParamsErrorObjectFileCreateParamsFileDeletedFileListParamsFileObjectFunctionDefinitionImageImageCreateVariationParamsImageEditParamsImageGenerateParamsImagesResponseModelModelDeletedModerationCreateParamsModerationCreateResponseResponseFormatJSONObjectResponseFormatTextUploadUploadCompleteParamsUploadCreateParamsAudioModelAudioResponseFormatChatCompletionContentPartChatCompletionMessageParamChatCompletionRoleChatCompletionToolChoiceOptionChatModelCreateChatCompletionRequestMessageEmbeddingModelFileContentFilePurposeFunctionParametersImageModelModerationModelBatchBatchesBatchesPageBatchCreateParamsBatchErrorBatchListParamsBatchRequestCountsCompletionChoiceCompletionCreateParamsCompletionsCompletionUsageCompletionCompletionCreateParamsBaseCompletionCreateParamsNonStreamingCompletionCreateParamsStreamingFilesFileObjectsPageFileCreateParamsFileDeletedFileListParamsFileObjectFileContentFilePurposeImagesImageImageCreateVariationParamsImageEditParamsImageGenerateParamsImagesResponseImageModel
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
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