v0.2
v0.1
Preparing search index...
The search index is not available
LangChain.js - v0.2.14
LangChain.js
langchain-openai
OpenAIClient
CursorPage
Class CursorPage<Item>
Type Parameters
Item
extends
{
id
:
string
;
}
Hierarchy (
view full
)
AbstractPage
<
Item
>
CursorPage
FineTuningJobsPage
FineTuningJobEventsPage
FineTuningJobCheckpointsPage
VectorStoresPage
VectorStoreFilesPage
AssistantsPage
RunsPage
RunStepsPage
MessagesPage
BatchesPage
Implements
CursorPageResponse
<
Item
>
Index
Constructors
constructor
Properties
data
body
options
response
Methods
[async
Iterator]
get
Next
Page
get
Paginated
Items
has
Next
Page
iter
Pages
next
Page
Info
next
Page
Params
Constructors
constructor
new
Cursor
Page
<
Item
>
(
client
,
response
,
body
,
options
)
:
CursorPage
<
Item
>
Type Parameters
Item
extends
{
id
:
string
;
}
Parameters
client
:
APIClient
response
:
Response
body
:
CursorPageResponse
<
Item
>
options
:
FinalRequestOptions
Returns
CursorPage
<
Item
>
Properties
data
data
:
Item
[]
Protected
body
body
:
unknown
Protected
options
options
:
FinalRequestOptions
<
unknown
>
Protected
response
response
:
Response
Methods
[async
Iterator]
[async
Iterator]
(
)
:
AsyncGenerator
<
Awaited
<
Item
>
,
void
,
unknown
>
Returns
AsyncGenerator
<
Awaited
<
Item
>
,
void
,
unknown
>
get
Next
Page
get
Next
Page
(
)
:
Promise
<
CursorPage
<
Item
>
>
Returns
Promise
<
CursorPage
<
Item
>
>
get
Paginated
Items
get
Paginated
Items
(
)
:
Item
[]
Returns
Item
[]
has
Next
Page
has
Next
Page
(
)
:
boolean
Returns
boolean
iter
Pages
iter
Pages
(
)
:
AsyncGenerator
<
AbstractPage
<
Item
>
,
void
,
unknown
>
Returns
AsyncGenerator
<
AbstractPage
<
Item
>
,
void
,
unknown
>
next
Page
Info
next
Page
Info
(
)
:
null
|
PageInfo
Returns
null
|
PageInfo
next
Page
Params
next
Page
Params
(
)
:
null
|
Partial
<
CursorPageParams
>
Returns
null
|
Partial
<
CursorPageParams
>
Deprecated
Use nextPageInfo instead
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
data
body
options
response
Methods
[async
Iterator]
get
Next
Page
get
Paginated
Items
has
Next
Page
iter
Pages
next
Page
Info
next
Page
Params
LangChain.js - v0.2.14
Loading...
Deprecated
Use nextPageInfo instead