import { Assistants } from "https://deno.land/x/openai@v4.33.1/resources/beta/assistants/assistants.ts";
class Assistants
extends APIResource
import { Assistants } from "https://deno.land/x/openai@v4.33.1/resources/beta/assistants/assistants.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>
Retrieves an assistant.