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. MessageListPagelist(String completionId)Get the messages in a stored chat completion. MessageListPagelist(String completionId, MessageListParams params, RequestOptions requestOptions)MessageListPagelist(String completionId, MessageListParams params)abstract MessageListPagelist(MessageListParams params, RequestOptions requestOptions)MessageListPagelist(MessageListParams params)MessageListPagelist(String completionId, RequestOptions requestOptions)-
-
Method Detail
-
withRawResponse
abstract MessageService.WithRawResponse withRawResponse()
Returns a view of this service that provides access to raw HTTP responses for each method.
-
list
MessageListPage list(String completionId)
Get the messages in a stored chat completion. Only Chat Completions that have been created with the
storeparameter set totruewill be returned.
-
list
MessageListPage list(String completionId, MessageListParams params, RequestOptions requestOptions)
-
list
MessageListPage list(String completionId, MessageListParams params)
-
list
abstract MessageListPage list(MessageListParams params, RequestOptions requestOptions)
-
list
MessageListPage list(MessageListParams params)
-
list
MessageListPage list(String completionId, RequestOptions requestOptions)
-
-
-
-