Skip to main content
Module

x/openai/pagination.ts>Page

Deno build of the official Typescript library for the OpenAI API.
Extremely Popular
Go to Latest
class Page
implements PageResponse<Item>
extends AbstractPage<Item>
import { Page } from "https://deno.land/x/openai@v4.21.0/pagination.ts";

Note: no pagination actually occurs yet, this is for forwards-compatibility.

Constructors

new
Page(
client: APIClient,
response: Response,
)

Properties

data: Array<Item>
object: "list"

Methods

nextPageInfo(): null

This page represents a response that isn't actually paginated at the API level so there will never be any next page params.