Package com.openai.services.async.beta
Interface ChatKitServiceAsync.WithRawResponse
-
- All Implemented Interfaces:
public interface ChatKitServiceAsync.WithRawResponse
A view of ChatKitServiceAsync that provides access to raw HTTP responses for each method.
-
-
Method Summary
Modifier and Type Method Description abstract ChatKitServiceAsync.WithRawResponse
withOptions(Consumer<ClientOptions.Builder> modifier)
Returns a view of this service with the given option modifications applied. abstract SessionServiceAsync.WithRawResponse
sessions()
abstract ThreadServiceAsync.WithRawResponse
threads()
CompletableFuture<HttpResponseFor<ChatKitUploadFileResponse>>
uploadFile(ChatKitUploadFileParams params)
Returns a raw HTTP response for post /chatkit/files
, but is otherwise the same as ChatKitServiceAsync.uploadFile.abstract CompletableFuture<HttpResponseFor<ChatKitUploadFileResponse>>
uploadFile(ChatKitUploadFileParams params, RequestOptions requestOptions)
-
-
Method Detail
-
withOptions
abstract ChatKitServiceAsync.WithRawResponse withOptions(Consumer<ClientOptions.Builder> modifier)
Returns a view of this service with the given option modifications applied.
The original service is not modified.
-
sessions
abstract SessionServiceAsync.WithRawResponse sessions()
-
threads
abstract ThreadServiceAsync.WithRawResponse threads()
-
uploadFile
CompletableFuture<HttpResponseFor<ChatKitUploadFileResponse>> uploadFile(ChatKitUploadFileParams params)
Returns a raw HTTP response for
post /chatkit/files
, but is otherwise the same as ChatKitServiceAsync.uploadFile.
-
uploadFile
abstract CompletableFuture<HttpResponseFor<ChatKitUploadFileResponse>> uploadFile(ChatKitUploadFileParams params, RequestOptions requestOptions)
-
-
-
-