public sealed class TrajectoryInOrderMatchSpec : IMessage<TrajectoryInOrderMatchSpec>, IEquatable<TrajectoryInOrderMatchSpec>, IDeepCloneable<TrajectoryInOrderMatchSpec>, IBufferMessage, IMessage
Reference documentation and code samples for the Vertex AI v1beta1 API class TrajectoryInOrderMatchSpec.
Spec for TrajectoryInOrderMatch metric - returns 1 if tool calls in the
reference trajectory appear in the predicted trajectory in the same order,
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-04-14 UTC."],[[["The `TrajectoryInOrderMatchSpec` class is part of the Vertex AI v1beta1 API and is used to define a metric for evaluating the order of tool calls in predicted trajectories compared to reference trajectories."],["This class implements several interfaces, including `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`, providing functionalities for message handling, equality comparisons, deep cloning, and buffer operations."],["`TrajectoryInOrderMatchSpec` inherits from the base `object` class and includes constructors for creating new instances, either empty or by cloning an existing `TrajectoryInOrderMatchSpec` object."],["The `TrajectoryInOrderMatchSpec` metric assigns a score of 1 if tool calls in the reference trajectory are found in the predicted trajectory in the same order, otherwise it assigns a score of 0."],["The current latest version is 1.0.0-beta21, with documentation also available for version 1.0.0-beta20."]]],[]]