Package com.openai.services.async.beta
Interface ChatKitServiceAsync
-
- All Implemented Interfaces:
public interface ChatKitServiceAsync
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description 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
withRawResponse()
Returns a view of this service that provides access to raw HTTP responses for each method. abstract ChatKitServiceAsync
withOptions(Consumer<ClientOptions.Builder> modifier)
Returns a view of this service with the given option modifications applied. abstract SessionServiceAsync
sessions()
abstract ThreadServiceAsync
threads()
CompletableFuture<ChatKitUploadFileResponse>
uploadFile(ChatKitUploadFileParams params)
Upload a ChatKit file abstract CompletableFuture<ChatKitUploadFileResponse>
uploadFile(ChatKitUploadFileParams params, RequestOptions requestOptions)
-
-
Method Detail
-
withRawResponse
abstract ChatKitServiceAsync.WithRawResponse withRawResponse()
Returns a view of this service that provides access to raw HTTP responses for each method.
-
withOptions
abstract ChatKitServiceAsync 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 sessions()
-
threads
abstract ThreadServiceAsync threads()
-
uploadFile
CompletableFuture<ChatKitUploadFileResponse> uploadFile(ChatKitUploadFileParams params)
Upload a ChatKit file
-
uploadFile
abstract CompletableFuture<ChatKitUploadFileResponse> uploadFile(ChatKitUploadFileParams params, RequestOptions requestOptions)
-
-
-
-