Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/openai/lib/parser.ts>ExtractParsedContentFromParams

Deno build of the official Typescript library for the OpenAI API.
Extremely Popular
Go to Latest
type alias ExtractParsedContentFromParams
import { type ExtractParsedContentFromParams } from "https://deno.land/x/openai@v4.64.0/lib/parser.ts";

Type Parameters

Params extends AnyChatCompletionCreateParams
definition: Params["response_format"] extends AutoParseableResponseFormat<infer P> ? P : null