Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/openai/resources/beta/mod.ts>AssistantResponseFormat

Deno build of the official Typescript library for the OpenAI API.
Extremely Popular
Go to Latest
interface AssistantResponseFormat
import { type AssistantResponseFormat } from "https://deno.land/x/openai@v4.38.5/resources/beta/mod.ts";

An object describing the expected output of the model. If json_object only function type tools are allowed to be passed to the Run. If text the model can return text or any value needed.

Properties

optional
type: "text" | "json_object"

Must be one of text or json_object.