Class RunServiceAsyncImpl.WithRawResponseImpl
-
- All Implemented Interfaces:
-
com.openai.services.async.beta.threads.RunServiceAsync.WithRawResponse
public final class RunServiceAsyncImpl.WithRawResponseImpl implements RunServiceAsync.WithRawResponse
-
-
Method Summary
Modifier and Type Method Description StepServiceAsync.WithRawResponse
steps()
CompletableFuture<HttpResponseFor<Run>>
create(BetaThreadRunCreateParams params, RequestOptions requestOptions)
Returns a raw HTTP response for post /threads/{thread_id}/runs
, but is otherwise the same as RunServiceAsync.create.CompletableFuture<HttpResponseFor<StreamResponse<AssistantStreamEvent>>>
createStreaming(BetaThreadRunCreateParams params, RequestOptions requestOptions)
Returns a raw HTTP response for post /threads/{thread_id}/runs
, but is otherwise the same as RunServiceAsync.createStreaming.CompletableFuture<HttpResponseFor<Run>>
retrieve(BetaThreadRunRetrieveParams params, RequestOptions requestOptions)
Returns a raw HTTP response for get /threads/{thread_id}/runs/{run_id}
, but is otherwise the same as RunServiceAsync.retrieve.CompletableFuture<HttpResponseFor<Run>>
update(BetaThreadRunUpdateParams params, RequestOptions requestOptions)
Returns a raw HTTP response for post /threads/{thread_id}/runs/{run_id}
, but is otherwise the same as RunServiceAsync.update.CompletableFuture<HttpResponseFor<BetaThreadRunListPageAsync>>
list(BetaThreadRunListParams params, RequestOptions requestOptions)
Returns a raw HTTP response for get /threads/{thread_id}/runs
, but is otherwise the same as RunServiceAsync.list.CompletableFuture<HttpResponseFor<Run>>
cancel(BetaThreadRunCancelParams params, RequestOptions requestOptions)
Returns a raw HTTP response for post /threads/{thread_id}/runs/{run_id}/cancel
, but is otherwise the same as RunServiceAsync.cancel.CompletableFuture<HttpResponseFor<Run>>
submitToolOutputs(BetaThreadRunSubmitToolOutputsParams params, RequestOptions requestOptions)
Returns a raw HTTP response for post /threads/{thread_id}/runs/{run_id}/submit_tool_outputs
, but is otherwise the same as RunServiceAsync.submitToolOutputs.CompletableFuture<HttpResponseFor<StreamResponse<AssistantStreamEvent>>>
submitToolOutputsStreaming(BetaThreadRunSubmitToolOutputsParams params, RequestOptions requestOptions)
Returns a raw HTTP response for post /threads/{thread_id}/runs/{run_id}/submit_tool_outputs
, but is otherwise the same as RunServiceAsync.submitToolOutputsStreaming.-
-
Method Detail
-
create
CompletableFuture<HttpResponseFor<Run>> create(BetaThreadRunCreateParams params, RequestOptions requestOptions)
Returns a raw HTTP response for
post /threads/{thread_id}/runs
, but is otherwise the same as RunServiceAsync.create.
-
createStreaming
CompletableFuture<HttpResponseFor<StreamResponse<AssistantStreamEvent>>> createStreaming(BetaThreadRunCreateParams params, RequestOptions requestOptions)
Returns a raw HTTP response for
post /threads/{thread_id}/runs
, but is otherwise the same as RunServiceAsync.createStreaming.
-
retrieve
CompletableFuture<HttpResponseFor<Run>> retrieve(BetaThreadRunRetrieveParams params, RequestOptions requestOptions)
Returns a raw HTTP response for
get /threads/{thread_id}/runs/{run_id}
, but is otherwise the same as RunServiceAsync.retrieve.
-
update
CompletableFuture<HttpResponseFor<Run>> update(BetaThreadRunUpdateParams params, RequestOptions requestOptions)
Returns a raw HTTP response for
post /threads/{thread_id}/runs/{run_id}
, but is otherwise the same as RunServiceAsync.update.
-
list
CompletableFuture<HttpResponseFor<BetaThreadRunListPageAsync>> list(BetaThreadRunListParams params, RequestOptions requestOptions)
Returns a raw HTTP response for
get /threads/{thread_id}/runs
, but is otherwise the same as RunServiceAsync.list.
-
cancel
CompletableFuture<HttpResponseFor<Run>> cancel(BetaThreadRunCancelParams params, RequestOptions requestOptions)
Returns a raw HTTP response for
post /threads/{thread_id}/runs/{run_id}/cancel
, but is otherwise the same as RunServiceAsync.cancel.
-
submitToolOutputs
CompletableFuture<HttpResponseFor<Run>> submitToolOutputs(BetaThreadRunSubmitToolOutputsParams params, RequestOptions requestOptions)
Returns a raw HTTP response for
post /threads/{thread_id}/runs/{run_id}/submit_tool_outputs
, but is otherwise the same as RunServiceAsync.submitToolOutputs.
-
submitToolOutputsStreaming
CompletableFuture<HttpResponseFor<StreamResponse<AssistantStreamEvent>>> submitToolOutputsStreaming(BetaThreadRunSubmitToolOutputsParams params, RequestOptions requestOptions)
Returns a raw HTTP response for
post /threads/{thread_id}/runs/{run_id}/submit_tool_outputs
, but is otherwise the same as RunServiceAsync.submitToolOutputsStreaming.
-
-
-
-