import { Files } from "https://deno.land/x/openai@v4.28.4/resources/beta/assistants/files.ts";
import { Files } from "https://deno.land/x/openai@v4.28.4/resources/beta/assistants/files.ts";
Methods
create(): Core.APIPromise<AssistantFile>
assistantId: string,
body: FileCreateParams,
options?: Core.RequestOptions,
del(): Core.APIPromise<FileDeleteResponse>
assistantId: string,
fileId: string,
options?: Core.RequestOptions,
Delete an assistant file.
list(): Core.PagePromise<AssistantFilesPage, AssistantFile>
assistantId: string,
query?: FileListParams,
options?: Core.RequestOptions,
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.