import { type ThreadCreateAndRunStreamParams } from "https://deno.land/x/openai@v4.38.3/resources/beta/threads/threads.ts";
const { Attachment } = ThreadCreateAndRunStreamParams.Thread.Message;
Module
x/openai/resources/beta/threads/threads.ts>ThreadCreateAndRunStreamParams.Thread.Message.Attachment
Deno build of the official Typescript library for the OpenAI API.
Extremely Popular
runsFileCitationAnnotationFileCitationDeltaAnnotationFilePathAnnotationFilePathDeltaAnnotationMessageMessageCreateParamsMessagesRequiredActionFunctionToolCallRunRunCreateAndPollParamsRunCreateAndStreamParamsRunCreateParamsRunsRunStreamParamsRunSubmitToolOutputsAndPollParamsRunSubmitToolOutputsParamsRunSubmitToolOutputsStreamParamsThreadThreadCreateAndRunParamsThreadCreateAndRunPollParamsThreadCreateAndRunStreamParamsThreadCreateParamsThreadsThreadUpdateParamsMessagesPageRunsPageAssistantResponseFormatAssistantToolChoiceAssistantToolChoiceFunctionImageFileImageFileContentBlockImageFileDeltaImageFileDeltaBlockMessageDeletedMessageDeltaMessageDeltaEventMessageListParamsMessageUpdateParamsRunCreateParamsNonStreamingRunCreateParamsStreamingRunListParamsRunSubmitToolOutputsParamsNonStreamingRunSubmitToolOutputsParamsStreamingRunUpdateParamsTextTextContentBlockTextDeltaTextDeltaBlockThreadCreateAndRunParamsNonStreamingThreadCreateAndRunParamsStreamingThreadDeletedAnnotationAnnotationDeltaAssistantResponseFormatOptionAssistantToolChoiceOptionMessageContentMessageContentDeltaRunStatusFileCitationAnnotationFileCitationDeltaAnnotationFilePathAnnotationFilePathDeltaAnnotationMessageMessageCreateParamsMessagesMessagesPageImageFileImageFileContentBlockImageFileDeltaImageFileDeltaBlockMessageDeletedMessageDeltaMessageDeltaEventMessageListParamsMessageUpdateParamsTextTextContentBlockTextDeltaTextDeltaBlockAnnotationAnnotationDeltaMessageContentMessageContentDeltaThreadThreadCreateAndRunParamsThreadCreateAndRunPollParamsThreadCreateAndRunStreamParamsThreadCreateParamsThreadsThreadUpdateParamsAssistantResponseFormatAssistantToolChoiceAssistantToolChoiceFunctionThreadCreateAndRunParamsBaseThreadCreateAndRunParamsNonStreamingThreadCreateAndRunParamsStreamingThreadDeletedAssistantResponseFormatOptionAssistantToolChoiceOption
mod.ts (default module)
N
I
N
I
N
I
N
I
N
I
N
I
N
c
N
I
N
I
N
I
N
I
N
T
N
c
N
I
N
I
N
T
N
I
N
I
N
T
N
I
N
I
N
I
N
c
N
I
c
c
I
I
I
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
messages.ts
N
I
N
I
N
I
N
I
N
I
N
I
N
c
c
I
I
I
I
I
I
I
I
I
I
I
I
I
T
T
T
T
threads.ts
N
I
N
T
N
I
N
I
N
I
N
c
N
I
I
I
I
I
I
I
I
T
T