import { Assistants } from "https://deno.land/x/openai@v4.52.1/resources/beta/mod.ts";
import { Assistants } from "https://deno.land/x/openai@v4.52.1/resources/beta/mod.ts";
Methods
create(body: AssistantCreateParams, options?: Core.RequestOptions): Core.APIPromise<Assistant>
Create an assistant with a model and instructions.
del(assistantId: string, options?: Core.RequestOptions): Core.APIPromise<AssistantDeleted>
Delete an assistant.
list(query?: AssistantListParams, options?: Core.RequestOptions): Core.PagePromise<AssistantsPage, Assistant>
Returns a list of assistants.
list(options?: Core.RequestOptions): Core.PagePromise<AssistantsPage, Assistant>
retrieve(assistantId: string, options?: Core.RequestOptions): Core.APIPromise<Assistant>
Retrieves an assistant.
update(): Core.APIPromise<Assistant>
assistantId: string,
body: AssistantUpdateParams,
options?: Core.RequestOptions,
Modifies an assistant.