Interface MessageService
-
- All Implemented Interfaces:
public interface MessageService
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public interfaceMessageService.WithRawResponseA view of MessageService that provides access to raw HTTP responses for each method.
-
Method Summary
Modifier and Type Method Description abstract MessageService.WithRawResponsewithRawResponse()Returns a view of this service that provides access to raw HTTP responses for each method. abstract ChatCompletionMessageListPagelist(ChatCompletionMessageListParams params, RequestOptions requestOptions)Get the messages in a stored chat completion. abstract ChatCompletionMessageListPagelist(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
storeparameter set totruewill 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
storeparameter set totruewill be returned.
-
-
-
-