Package com.openai.services.blocking
Class ConversationServiceImpl
-
- All Implemented Interfaces:
-
com.openai.services.blocking.ConversationService
public final class ConversationServiceImpl implements ConversationService
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classConversationServiceImpl.WithRawResponseImpl
-
Method Summary
Modifier and Type Method Description ConversationService.WithRawResponsewithRawResponse()Returns a view of this service that provides access to raw HTTP responses for each method. ConversationServicewithOptions(Consumer<ClientOptions.Builder> modifier)Returns a view of this service with the given option modifications applied. ItemServiceitems()Conversationcreate(ConversationCreateParams params, RequestOptions requestOptions)Conversationretrieve(ConversationRetrieveParams params, RequestOptions requestOptions)Conversationupdate(ConversationUpdateParams params, RequestOptions requestOptions)ConversationDeletedResourcedelete(ConversationDeleteParams params, RequestOptions requestOptions)-
Methods inherited from class com.openai.services.blocking.ConversationService
create, create, create, delete, delete, delete, delete, delete, retrieve, retrieve, retrieve, retrieve, retrieve, update, update, update -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
withRawResponse
ConversationService.WithRawResponse withRawResponse()
Returns a view of this service that provides access to raw HTTP responses for each method.
-
withOptions
ConversationService withOptions(Consumer<ClientOptions.Builder> modifier)
Returns a view of this service with the given option modifications applied.
The original service is not modified.
-
items
ItemService items()
-
create
Conversation create(ConversationCreateParams params, RequestOptions requestOptions)
-
retrieve
Conversation retrieve(ConversationRetrieveParams params, RequestOptions requestOptions)
-
update
Conversation update(ConversationUpdateParams params, RequestOptions requestOptions)
-
delete
ConversationDeletedResource delete(ConversationDeleteParams params, RequestOptions requestOptions)
-
-
-
-