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 class
ThreadServiceAsyncImpl.WithRawResponseImpl
-
Method Summary
-
-
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(BetaThreadCreateParams params, RequestOptions requestOptions)
Create a thread.
-
retrieve
CompletableFuture<Thread> retrieve(BetaThreadRetrieveParams params, RequestOptions requestOptions)
Retrieves a thread.
-
update
CompletableFuture<Thread> update(BetaThreadUpdateParams params, RequestOptions requestOptions)
Modifies a thread.
-
delete
CompletableFuture<ThreadDeleted> delete(BetaThreadDeleteParams params, RequestOptions requestOptions)
Delete a thread.
-
createAndRun
CompletableFuture<Run> createAndRun(BetaThreadCreateAndRunParams params, RequestOptions requestOptions)
Create a thread and run it in one request.
-
createAndRunStreaming
AsyncStreamResponse<AssistantStreamEvent> createAndRunStreaming(BetaThreadCreateAndRunParams params, RequestOptions requestOptions)
Create a thread and run it in one request.
-
-
-
-