Package com.openai.services.async.beta
Class ThreadServiceAsyncImpl
-
- All Implemented Interfaces:
-
com.openai.services.async.beta.ThreadServiceAsync
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. 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.
-
runs
RunServiceAsync runs()
-
messages
MessageServiceAsync messages()
-
create
CompletableFuture<Thread> create(ThreadCreateParams params, RequestOptions requestOptions)
-
retrieve
CompletableFuture<Thread> retrieve(ThreadRetrieveParams params, RequestOptions requestOptions)
-
update
CompletableFuture<Thread> update(ThreadUpdateParams params, RequestOptions requestOptions)
-
delete
CompletableFuture<ThreadDeleted> delete(ThreadDeleteParams params, RequestOptions requestOptions)
-
createAndRun
CompletableFuture<Run> createAndRun(ThreadCreateAndRunParams params, RequestOptions requestOptions)
-
createAndRunStreaming
AsyncStreamResponse<AssistantStreamEvent> createAndRunStreaming(ThreadCreateAndRunParams params, RequestOptions requestOptions)
-
-
-
-