public sealed class ComputeTokensResponse : IMessage<ComputeTokensResponse>, IEquatable<ComputeTokensResponse>, IDeepCloneable<ComputeTokensResponse>, IBufferMessage, IMessage
Reference documentation and code samples for the Cloud AI Platform v1beta1 API class ComputeTokensResponse.
public RepeatedField<TokensInfo> TokensInfo { get; }
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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-03-21 UTC."],[[["The `ComputeTokensResponse` class is part of the Cloud AI Platform v1beta1 API, specifically within the `Google.Cloud.AIPlatform.V1Beta1` namespace."],["This class represents the response message for the ComputeTokens RPC call, indicating that it is used to handle the output of token computation requests."],["The `ComputeTokensResponse` class inherits from the `object` class and implements several interfaces including `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`, highlighting its capabilities for message handling, comparison, cloning, and buffer management."],["It includes a `TokensInfo` property, which is a `RepeatedField` of `TokensInfo` objects, and is used to provide a list of token information, potentially for multiple input instances."],["The class has two constructors: a default constructor `ComputeTokensResponse()` and another that takes another `ComputeTokensResponse` object as a parameter for creating a copy."]]],[]]