import { Files } from "https://deno.land/x/openai@v4.28.5/resources/beta/assistants/mod.ts";
import { Files } from "https://deno.land/x/openai@v4.28.5/resources/beta/assistants/mod.ts";
Methods
create(): Core.APIPromise<AssistantFile>
del(): Core.APIPromise<FileDeleteResponse>
assistantId: string,
fileId: string,
options?: Core.RequestOptions,
Delete an assistant file.
list(): Core.PagePromise<AssistantFilesPage, AssistantFile>
Returns a list of assistant files.
list(assistantId: string, options?: Core.RequestOptions): Core.PagePromise<AssistantFilesPage, AssistantFile>
retrieve(): Core.APIPromise<AssistantFile>
assistantId: string,
fileId: string,
options?: Core.RequestOptions,
Retrieves an AssistantFile.