Package com.openai.services.async
Class ConversationServiceAsyncImpl
-
- All Implemented Interfaces:
-
com.openai.services.async.ConversationServiceAsync
public final class ConversationServiceAsyncImpl implements ConversationServiceAsync
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final class
ConversationServiceAsyncImpl.WithRawResponseImpl
-
Method Summary
Modifier and Type Method Description ConversationServiceAsync.WithRawResponse
withRawResponse()
Returns a view of this service that provides access to raw HTTP responses for each method. ConversationServiceAsync
withOptions(Consumer<ClientOptions.Builder> modifier)
Returns a view of this service with the given option modifications applied. ItemServiceAsync
items()
CompletableFuture<Conversation>
create(ConversationCreateParams params, RequestOptions requestOptions)
CompletableFuture<Conversation>
retrieve(ConversationRetrieveParams params, RequestOptions requestOptions)
CompletableFuture<Conversation>
update(ConversationUpdateParams params, RequestOptions requestOptions)
CompletableFuture<ConversationDeletedResource>
delete(ConversationDeleteParams params, RequestOptions requestOptions)
-
Methods inherited from class com.openai.services.async.ConversationServiceAsync
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
ConversationServiceAsync.WithRawResponse withRawResponse()
Returns a view of this service that provides access to raw HTTP responses for each method.
-
withOptions
ConversationServiceAsync withOptions(Consumer<ClientOptions.Builder> modifier)
Returns a view of this service with the given option modifications applied.
The original service is not modified.
-
items
ItemServiceAsync items()
-
create
CompletableFuture<Conversation> create(ConversationCreateParams params, RequestOptions requestOptions)
-
retrieve
CompletableFuture<Conversation> retrieve(ConversationRetrieveParams params, RequestOptions requestOptions)
-
update
CompletableFuture<Conversation> update(ConversationUpdateParams params, RequestOptions requestOptions)
-
delete
CompletableFuture<ConversationDeletedResource> delete(ConversationDeleteParams params, RequestOptions requestOptions)
-
-
-
-