import { type ChatCompletionNamedToolChoice } from "https://deno.land/x/openai@v4.24.7/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-tuningAudioBetaChatChatCompletionChatCompletionAssistantMessageParamChatCompletionChunkChatCompletionContentPartImageChatCompletionCreateParamsChatCompletionMessageChatCompletionMessageToolCallChatCompletionNamedToolChoiceChatCompletionTokenLogprobCompletionChoiceCompletionCreateParamsCompletionsCreateEmbeddingResponseEmbeddingsFilesFineTuningImagesModelsModerationModerationsFileObjectsPageModelsPageChatCompletionContentPartTextChatCompletionCreateParamsNonStreamingChatCompletionCreateParamsStreamingChatCompletionFunctionCallOptionChatCompletionFunctionMessageParamChatCompletionSystemMessageParamChatCompletionToolChatCompletionToolMessageParamChatCompletionUserMessageParamCompletionCompletionCreateParamsNonStreamingCompletionCreateParamsStreamingCompletionUsageEmbeddingEmbeddingCreateParamsFileCreateParamsFileDeletedFileListParamsFileObjectFunctionDefinitionImageImageCreateVariationParamsImageEditParamsImageGenerateParamsImagesResponseModelModelDeletedModerationCreateParamsModerationCreateResponseChatCompletionContentPartChatCompletionMessageParamChatCompletionRoleChatCompletionToolChoiceOptionCreateChatCompletionRequestMessageFileContentFunctionParametersCompletionChoiceCompletionCreateParamsCompletionsCompletionCompletionCreateParamsBaseCompletionCreateParamsNonStreamingCompletionCreateParamsStreamingCompletionUsage
mod.ts (default module)
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
c
N
c
N
c
N
c
N
c
N
I
N
c
c
c
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
T
T
T
T
T
T
T
completions.ts
N
I
N
T
N
c
I
I
I
I
I