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

x/openai_deno/mod.ts>OpenAI#modifyThread

OpenAI API wrapper for deno.
Latest
method OpenAI.prototype.modifyThread
import { OpenAI } from "https://deno.land/x/openai_deno@v0.9.8/mod.ts";

Modifies a thread.

Parameters

threadID: string

The ID of the thread to modify. Only the metadata can be modified.

optional
params: Partial<HasMetadata>

Optional parameters for the API.

Returns

Promise<Thread>

The modified thread object matching the specified ID.