v0.3
v0.2
v0.1
Preparing search index...
The search index is not available
LangChain.js
LangChain.js
@langchain/openai
OpenAIClient
Beta
Threads
Messages
MessagesPage
Class MessagesPage
Hierarchy (
view full
)
CursorPage
<
OpenAIClient
.
Beta
.
Threads
.
Messages
.
Message
>
MessagesPage
Index
Constructors
constructor
Properties
body
data
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
Messages
Page
(
client
,
response
,
body
,
options
)
:
MessagesPage
Parameters
client
:
APIClient
response
:
Response
body
:
CursorPageResponse
<
OpenAIClient
.
Beta
.
Threads
.
Messages
.
Message
>
options
:
FinalRequestOptions
Returns
MessagesPage
Properties
Protected
body
body
:
unknown
data
data
:
OpenAIClient
.
Beta
.
Threads
.
Messages
.
Message
[]
Protected
options
options
:
FinalRequestOptions
<
unknown
>
Protected
response
response
:
Response
Methods
[async
Iterator]
[async
Iterator]
(
)
:
AsyncGenerator
<
OpenAIClient
.
Beta
.
Threads
.
Messages
.
Message
,
void
,
unknown
>
Returns
AsyncGenerator
<
OpenAIClient
.
Beta
.
Threads
.
Messages
.
Message
,
void
,
unknown
>
get
Next
Page
get
Next
Page
(
)
:
Promise
<
MessagesPage
>
Returns
Promise
<
MessagesPage
>
get
Paginated
Items
get
Paginated
Items
(
)
:
OpenAIClient
.
Beta
.
Threads
.
Messages
.
Message
[]
Returns
OpenAIClient
.
Beta
.
Threads
.
Messages
.
Message
[]
has
Next
Page
has
Next
Page
(
)
:
boolean
Returns
boolean
iter
Pages
iter
Pages
(
)
:
AsyncGenerator
<
AbstractPage
<
OpenAIClient
.
Beta
.
Threads
.
Messages
.
Message
>
,
void
,
unknown
>
Returns
AsyncGenerator
<
AbstractPage
<
OpenAIClient
.
Beta
.
Threads
.
Messages
.
Message
>
,
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
body
data
options
response
Methods
[async
Iterator]
get
Next
Page
get
Paginated
Items
has
Next
Page
iter
Pages
next
Page
Info
next
Page
Params
LangChain.js
Loading...
Deprecated
Use nextPageInfo instead