Package com.openai.services.async.beta
Class ThreadServiceAsyncImpl
-
- All Implemented Interfaces:
-
com.openai.services.async.beta.ThreadServiceAsync
@Deprecated(message = "The Assistants API is deprecated in favor of the Responses API") public final class ThreadServiceAsyncImpl implements ThreadServiceAsync
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classThreadServiceAsyncImpl.WithRawResponseImpl
-
Method Summary
Modifier and Type Method Description ThreadServiceAsync.WithRawResponsewithRawResponse()Returns a view of this service that provides access to raw HTTP responses for each method. ThreadServiceAsyncwithOptions(Consumer<ClientOptions.Builder> modifier)Returns a view of this service with the given option modifications applied. RunServiceAsyncruns()MessageServiceAsyncmessages()CompletableFuture<Thread>create(ThreadCreateParams params, RequestOptions requestOptions)CompletableFuture<Thread>retrieve(ThreadRetrieveParams params, RequestOptions requestOptions)CompletableFuture<Thread>update(ThreadUpdateParams params, RequestOptions requestOptions)CompletableFuture<ThreadDeleted>delete(ThreadDeleteParams params, RequestOptions requestOptions)CompletableFuture<Run>createAndRun(ThreadCreateAndRunParams params, RequestOptions requestOptions)AsyncStreamResponse<AssistantStreamEvent>createAndRunStreaming(ThreadCreateAndRunParams params, RequestOptions requestOptions)-
Methods inherited from class com.openai.services.async.beta.ThreadServiceAsync
create, create, create, createAndRun, createAndRunStreaming, delete, delete, delete, delete, delete, retrieve, retrieve, retrieve, retrieve, retrieve, update, update, update, update, update -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
withRawResponse
ThreadServiceAsync.WithRawResponse withRawResponse()
Returns a view of this service that provides access to raw HTTP responses for each method.
-
withOptions
ThreadServiceAsync withOptions(Consumer<ClientOptions.Builder> modifier)
Returns a view of this service with the given option modifications applied.
The original service is not modified.
-
runs
@Deprecated(message = "The Assistants API is deprecated in favor of the Responses API") RunServiceAsync runs()
-
messages
@Deprecated(message = "The Assistants API is deprecated in favor of the Responses API") MessageServiceAsync messages()
-
create
@Deprecated(message = "The Assistants API is deprecated in favor of the Responses API") CompletableFuture<Thread> create(ThreadCreateParams params, RequestOptions requestOptions)
-
retrieve
@Deprecated(message = "The Assistants API is deprecated in favor of the Responses API") CompletableFuture<Thread> retrieve(ThreadRetrieveParams params, RequestOptions requestOptions)
-
update
@Deprecated(message = "The Assistants API is deprecated in favor of the Responses API") CompletableFuture<Thread> update(ThreadUpdateParams params, RequestOptions requestOptions)
-
delete
@Deprecated(message = "The Assistants API is deprecated in favor of the Responses API") CompletableFuture<ThreadDeleted> delete(ThreadDeleteParams params, RequestOptions requestOptions)
-
createAndRun
@Deprecated(message = "The Assistants API is deprecated in favor of the Responses API") CompletableFuture<Run> createAndRun(ThreadCreateAndRunParams params, RequestOptions requestOptions)
-
createAndRunStreaming
@Deprecated(message = "The Assistants API is deprecated in favor of the Responses API") AsyncStreamResponse<AssistantStreamEvent> createAndRunStreaming(ThreadCreateAndRunParams params, RequestOptions requestOptions)
-
-
-
-