Class ChatCompletionListPage
-
- All Implemented Interfaces:
public final class ChatCompletionListPage
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
ChatCompletionListPage.Response
public final class
ChatCompletionListPage.AutoPager
-
Method Summary
Modifier and Type Method Description final ChatCompletionListPage.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 Optional<ChatCompletionListPage>
getNextPage()
final ChatCompletionListPage.AutoPager
autoPager()
final static ChatCompletionListPage
of(ChatCompletionService completionsService, ChatCompletionListParams params, ChatCompletionListPage.Response response)
-
-
Method Detail
-
response
final ChatCompletionListPage.Response response()
-
data
final List<ChatCompletion> data()
-
hasNextPage
final Boolean hasNextPage()
-
getNextPageParams
final Optional<ChatCompletionListParams> getNextPageParams()
-
getNextPage
final Optional<ChatCompletionListPage> getNextPage()
-
autoPager
final ChatCompletionListPage.AutoPager autoPager()
-
of
final static ChatCompletionListPage of(ChatCompletionService completionsService, ChatCompletionListParams params, ChatCompletionListPage.Response response)
-
-
-
-