Package com.openai.services.async.beta
Class ThreadServiceAsyncImpl.WithRawResponseImpl
-
- All Implemented Interfaces:
-
com.openai.services.async.beta.ThreadServiceAsync.WithRawResponse
public final class ThreadServiceAsyncImpl.WithRawResponseImpl implements ThreadServiceAsync.WithRawResponse
-
-
Method Summary
-
-
Method Detail
-
messages
MessageServiceAsync.WithRawResponse messages()
-
create
CompletableFuture<HttpResponseFor<Thread>> create(BetaThreadCreateParams params, RequestOptions requestOptions)
Returns a raw HTTP response for
post /threads
, but is otherwise the same as ThreadServiceAsync.create.
-
retrieve
CompletableFuture<HttpResponseFor<Thread>> retrieve(BetaThreadRetrieveParams params, RequestOptions requestOptions)
Returns a raw HTTP response for
get /threads/{thread_id}
, but is otherwise the same as ThreadServiceAsync.retrieve.
-
update
CompletableFuture<HttpResponseFor<Thread>> update(BetaThreadUpdateParams params, RequestOptions requestOptions)
Returns a raw HTTP response for
post /threads/{thread_id}
, but is otherwise the same as ThreadServiceAsync.update.
-
delete
CompletableFuture<HttpResponseFor<ThreadDeleted>> delete(BetaThreadDeleteParams params, RequestOptions requestOptions)
Returns a raw HTTP response for
delete /threads/{thread_id}
, but is otherwise the same as ThreadServiceAsync.delete.
-
createAndRun
CompletableFuture<HttpResponseFor<Run>> createAndRun(BetaThreadCreateAndRunParams params, RequestOptions requestOptions)
Returns a raw HTTP response for
post /threads/runs
, but is otherwise the same as ThreadServiceAsync.createAndRun.
-
createAndRunStreaming
CompletableFuture<HttpResponseFor<StreamResponse<AssistantStreamEvent>>> createAndRunStreaming(BetaThreadCreateAndRunParams params, RequestOptions requestOptions)
Returns a raw HTTP response for
post /threads/runs
, but is otherwise the same as ThreadServiceAsync.createAndRunStreaming.
-
-
-
-