public sealed class ComputeTokensResponse : IMessage<ComputeTokensResponse>, IEquatable<ComputeTokensResponse>, IDeepCloneable<ComputeTokensResponse>, IBufferMessage, IMessage
Reference documentation and code samples for the Vertex AI 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-25 UTC."],[[["The latest version of the `ComputeTokensResponse` class is 1.0.0-beta21, which is part of the Vertex AI v1beta1 API."],["`ComputeTokensResponse` is a response message for the ComputeTokens RPC call, representing a sealed class with various interface implementations."],["The `ComputeTokensResponse` class inherits from the base object class, and implements the `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage` interfaces."],["It contains a property called `TokensInfo`, which is a `RepeatedField` of `TokensInfo`, and is used to list token information from multiple instances in the input of a compute tokens request."],["`ComputeTokensResponse` has two constructors, the default one, and another which takes in another `ComputeTokensResponse` object as a parameter."]]],[]]