public sealed class TrajectorySingleToolUseSpec : IMessage<TrajectorySingleToolUseSpec>, IEquatable<TrajectorySingleToolUseSpec>, IDeepCloneable<TrajectorySingleToolUseSpec>, IBufferMessage, IMessage
Reference documentation and code samples for the Vertex AI v1beta1 API class TrajectorySingleToolUseSpec.
Spec for TrajectorySingleToolUse metric - returns 1 if tool is present in the
predicted trajectory, else 0.
[[["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-31 UTC."],[[["The `TrajectorySingleToolUseSpec` class is part of the Vertex AI v1beta1 API, used to specify a metric that determines if a tool is present in a predicted trajectory, returning 1 if present, else 0."],["This class implements multiple interfaces, including `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`, providing various functionalities like message handling, equality comparison, deep cloning, and buffer management."],["The `TrajectorySingleToolUseSpec` class has two constructors, one default and another that takes an instance of `TrajectorySingleToolUseSpec` for creating a new object based on an existing one."],["It contains two properties, `HasToolName` which determines if the \"tool_name\" field is set and `ToolName` which allows you to set the name of a tool to check for within a predicted trajectory."],["The class is namespaced under `Google.Cloud.AIPlatform.V1Beta1` and is part of the `Google.Cloud.AIPlatform.V1Beta1.dll` assembly."]]],[]]