Class ComputeTokensResponse

Response for computing tokens.

Constructors

Properties

sdkHttpResponse?: HttpResponse

Used to retain the full HTTP response.

tokensInfo?: TokensInfo[]

Lists of tokens info from the input. A ComputeTokensRequest could have multiple instances with a prompt in each instance. We also need to return lists of tokens info for the request with multiple instances.