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-04-09 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, utilized in the Google Cloud AI Platform."],["`ComputeTokensResponse` implements multiple interfaces, including `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`, providing functionalities for message handling, equality comparisons, deep cloning, and buffer operations."],["The class includes a `TokensInfo` property, which is a `RepeatedField` containing a list of `TokensInfo`, and is designed to return lists of tokens information for requests with multiple instances."],["Two constructors are available: a parameterless constructor, and a second constructor that takes another `ComputeTokensResponse` as a parameter, enabling the creation of new objects based off existing ones."]]],[]]