tokensInfo

@CanIgnoreReturnValue()
public ComputeTokensResponse.Builder tokensInfo(Array<TokensInfo> tokensInfo)

Setter for 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.


@CanIgnoreReturnValue()
public ComputeTokensResponse.Builder tokensInfo(Array<TokensInfo.Builder> tokensInfoBuilders)

Setter for tokensInfo builder.

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.