Interface InputTokenService
-
- All Implemented Interfaces:
public interface InputTokenService
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public interfaceInputTokenService.WithRawResponseA view of InputTokenService that provides access to raw HTTP responses for each method.
-
Method Summary
Modifier and Type Method Description abstract InputTokenService.WithRawResponsewithRawResponse()Returns a view of this service that provides access to raw HTTP responses for each method. abstract InputTokenServicewithOptions(Consumer<ClientOptions.Builder> modifier)Returns a view of this service with the given option modifications applied. InputTokenCountResponsecount()Get input token counts abstract InputTokenCountResponsecount(InputTokenCountParams params, RequestOptions requestOptions)InputTokenCountResponsecount(InputTokenCountParams params)InputTokenCountResponsecount(RequestOptions requestOptions)-
-
Method Detail
-
withRawResponse
abstract InputTokenService.WithRawResponse withRawResponse()
Returns a view of this service that provides access to raw HTTP responses for each method.
-
withOptions
abstract InputTokenService withOptions(Consumer<ClientOptions.Builder> modifier)
Returns a view of this service with the given option modifications applied.
The original service is not modified.
-
count
InputTokenCountResponse count()
Get input token counts
-
count
abstract InputTokenCountResponse count(InputTokenCountParams params, RequestOptions requestOptions)
-
count
InputTokenCountResponse count(InputTokenCountParams params)
-
count
InputTokenCountResponse count(RequestOptions requestOptions)
-
-
-
-