Package com.openai.models
Class ChatCompletionMessageListPageAsync
-
- All Implemented Interfaces:
public final class ChatCompletionMessageListPageAsync
Get the messages in a stored chat completion. Only chat completions that have been created with the
store
parameter set totrue
will be returned.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final class
ChatCompletionMessageListPageAsync.Response
public final class
ChatCompletionMessageListPageAsync.AutoPager
-
Method Summary
Modifier and Type Method Description final ChatCompletionMessageListPageAsync.Response
response()
final List<ChatCompletionStoreMessage>
data()
final Optional<Boolean>
hasMore()
Boolean
equals(Object other)
Integer
hashCode()
String
toString()
final Boolean
hasNextPage()
final Optional<ChatCompletionMessageListParams>
getNextPageParams()
final CompletableFuture<Optional<ChatCompletionMessageListPageAsync>>
getNextPage()
final ChatCompletionMessageListPageAsync.AutoPager
autoPager()
final static ChatCompletionMessageListPageAsync
of(MessageServiceAsync messagesService, ChatCompletionMessageListParams params, ChatCompletionMessageListPageAsync.Response response)
-
-
Method Detail
-
response
final ChatCompletionMessageListPageAsync.Response response()
-
data
final List<ChatCompletionStoreMessage> data()
-
hasNextPage
final Boolean hasNextPage()
-
getNextPageParams
final Optional<ChatCompletionMessageListParams> getNextPageParams()
-
getNextPage
final CompletableFuture<Optional<ChatCompletionMessageListPageAsync>> getNextPage()
-
autoPager
final ChatCompletionMessageListPageAsync.AutoPager autoPager()
-
of
final static ChatCompletionMessageListPageAsync of(MessageServiceAsync messagesService, ChatCompletionMessageListParams params, ChatCompletionMessageListPageAsync.Response response)
-
-
-
-