Interface MessageService
-
- All Implemented Interfaces:
public interface MessageService
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public interface
MessageService.WithRawResponse
A view of MessageService that provides access to raw HTTP responses for each method.
-
Method Summary
Modifier and Type Method Description abstract MessageService.WithRawResponse
withRawResponse()
Returns a view of this service that provides access to raw HTTP responses for each method. abstract ChatCompletionMessageListPage
list(ChatCompletionMessageListParams params, RequestOptions requestOptions)
Get the messages in a stored chat completion. abstract ChatCompletionMessageListPage
list(ChatCompletionMessageListParams params)
Get the messages in a stored chat completion. -
-
Method Detail
-
withRawResponse
abstract MessageService.WithRawResponse withRawResponse()
Returns a view of this service that provides access to raw HTTP responses for each method.
-
list
abstract ChatCompletionMessageListPage list(ChatCompletionMessageListParams params, RequestOptions requestOptions)
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 ChatCompletionMessageListPage list(ChatCompletionMessageListParams 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.
-
-
-
-