Interface MessageServiceAsync
-
- All Implemented Interfaces:
public interface MessageServiceAsync
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public interface
MessageServiceAsync.WithRawResponse
A view of MessageServiceAsync that provides access to raw HTTP responses for each method.
-
Method Summary
Modifier and Type Method Description abstract MessageServiceAsync.WithRawResponse
withRawResponse()
Returns a view of this service that provides access to raw HTTP responses for each method. CompletableFuture<MessageListPageAsync>
list(MessageListParams params)
Get the messages in a stored chat completion. abstract CompletableFuture<MessageListPageAsync>
list(MessageListParams params, RequestOptions requestOptions)
-
-
Method Detail
-
withRawResponse
abstract MessageServiceAsync.WithRawResponse withRawResponse()
Returns a view of this service that provides access to raw HTTP responses for each method.
-
list
CompletableFuture<MessageListPageAsync> list(MessageListParams params)
Get the messages in a stored chat completion. Only Chat Completions that have been created with the
store
parameter set totrue
will be returned.
-
list
abstract CompletableFuture<MessageListPageAsync> list(MessageListParams params, RequestOptions requestOptions)
-
-
-
-