(req: CountTokensParameters)
| 124 | } |
| 125 | |
| 126 | async countTokens(req: CountTokensParameters): Promise<CountTokensResponse> { |
| 127 | const resp = await this.requestPost<CaCountTokenResponse>( |
| 128 | 'countTokens', |
| 129 | toCountTokenRequest(req), |
| 130 | ); |
| 131 | return fromCountTokenResponse(resp); |
| 132 | } |
| 133 | |
| 134 | async embedContent( |
| 135 | _req: EmbedContentParameters, |
nothing calls this directly
no test coverage detected