Class ChatCompletionListPageAsync
-
- All Implemented Interfaces:
public final class ChatCompletionListPageAsync
List stored Chat Completions. Only Chat Completions that have been stored with the
store
parameter set totrue
will be returned.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final class
ChatCompletionListPageAsync.Response
public final class
ChatCompletionListPageAsync.AutoPager
-
Method Summary
Modifier and Type Method Description final ChatCompletionListPageAsync.Response
response()
final List<ChatCompletion>
data()
final Optional<Boolean>
hasMore()
Boolean
equals(Object other)
Integer
hashCode()
String
toString()
final Boolean
hasNextPage()
final Optional<ChatCompletionListParams>
getNextPageParams()
final CompletableFuture<Optional<ChatCompletionListPageAsync>>
getNextPage()
final ChatCompletionListPageAsync.AutoPager
autoPager()
final static ChatCompletionListPageAsync
of(ChatCompletionServiceAsync completionsService, ChatCompletionListParams params, ChatCompletionListPageAsync.Response response)
-
-
Method Detail
-
response
final ChatCompletionListPageAsync.Response response()
-
data
final List<ChatCompletion> data()
-
hasNextPage
final Boolean hasNextPage()
-
getNextPageParams
final Optional<ChatCompletionListParams> getNextPageParams()
-
getNextPage
final CompletableFuture<Optional<ChatCompletionListPageAsync>> getNextPage()
-
autoPager
final ChatCompletionListPageAsync.AutoPager autoPager()
-
of
final static ChatCompletionListPageAsync of(ChatCompletionServiceAsync completionsService, ChatCompletionListParams params, ChatCompletionListPageAsync.Response response)
-
-
-
-