import { Files } from "https://deno.land/x/openai@v4.24.3/resources/beta/assistants/files.ts";
class Files
extends APIResource
import { Files } from "https://deno.land/x/openai@v4.24.3/resources/beta/assistants/files.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.