Interface InputTokenServiceAsync.WithRawResponse
-
- All Implemented Interfaces:
public interface InputTokenServiceAsync.WithRawResponseA view of InputTokenServiceAsync that provides access to raw HTTP responses for each method.
-
-
Method Summary
Modifier and Type Method Description abstract InputTokenServiceAsync.WithRawResponsewithOptions(Consumer<ClientOptions.Builder> modifier)Returns a view of this service with the given option modifications applied. CompletableFuture<HttpResponseFor<InputTokenCountResponse>>count()Returns a raw HTTP response for post /responses/input_tokens, but is otherwise the same as InputTokenServiceAsync.count.abstract CompletableFuture<HttpResponseFor<InputTokenCountResponse>>count(InputTokenCountParams params, RequestOptions requestOptions)CompletableFuture<HttpResponseFor<InputTokenCountResponse>>count(InputTokenCountParams params)CompletableFuture<HttpResponseFor<InputTokenCountResponse>>count(RequestOptions requestOptions)-
-
Method Detail
-
withOptions
abstract InputTokenServiceAsync.WithRawResponse withOptions(Consumer<ClientOptions.Builder> modifier)
Returns a view of this service with the given option modifications applied.
The original service is not modified.
-
count
CompletableFuture<HttpResponseFor<InputTokenCountResponse>> count()
Returns a raw HTTP response for
post /responses/input_tokens, but is otherwise the same as InputTokenServiceAsync.count.
-
count
abstract CompletableFuture<HttpResponseFor<InputTokenCountResponse>> count(InputTokenCountParams params, RequestOptions requestOptions)
-
count
CompletableFuture<HttpResponseFor<InputTokenCountResponse>> count(InputTokenCountParams params)
-
count
CompletableFuture<HttpResponseFor<InputTokenCountResponse>> count(RequestOptions requestOptions)
-
-
-
-