Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/openai_deno/mod.ts>CreateRunParams

OpenAI API wrapper for deno.
Latest
interface CreateRunParams
implements HasMetadata
Re-export
import { type CreateRunParams } from "https://deno.land/x/openai_deno@v0.9.8/mod.ts";

Properties

optional
model: string | null

The ID of the Model to be used to execute this run.

If a value is provided here, it will override the model associated with the assistant. If not, the model associated with the assistant will be used.

optional
instructions: string | null

Override the default system message of the assistant. This is useful for modifying the behavior on a per-run basis.

optional
tools: ({ type: "codeInterpreter"; } | { type: "retrieval"; } | { type: "function"; function: Function; })[] | null

Override the tools the assistant can use for this run. This is useful for modifying the behavior on a per-run basis.