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