Interface MessageServiceAsync
-
- All Implemented Interfaces:
public interface MessageServiceAsync
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public interfaceMessageServiceAsync.WithRawResponseA view of MessageServiceAsync that provides access to raw HTTP responses for each method.
-
Method Summary
Modifier and Type Method Description abstract MessageServiceAsync.WithRawResponsewithRawResponse()Returns a view of this service that provides access to raw HTTP responses for each method. abstract CompletableFuture<ChatCompletionMessageListPageAsync>list(ChatCompletionMessageListParams params, RequestOptions requestOptions)Get the messages in a stored chat completion. abstract CompletableFuture<ChatCompletionMessageListPageAsync>list(ChatCompletionMessageListParams params)Get the messages in a stored chat completion. -
-
Method Detail
-
withRawResponse
abstract MessageServiceAsync.WithRawResponse withRawResponse()
Returns a view of this service that provides access to raw HTTP responses for each method.
-
list
abstract CompletableFuture<ChatCompletionMessageListPageAsync> list(ChatCompletionMessageListParams params, RequestOptions requestOptions)
Get the messages in a stored chat completion. Only chat completions that have been created with the
storeparameter set totruewill be returned.
-
list
abstract CompletableFuture<ChatCompletionMessageListPageAsync> list(ChatCompletionMessageListParams params)
Get the messages in a stored chat completion. Only chat completions that have been created with the
storeparameter set totruewill be returned.
-
-
-
-