UNPKG

@agentica/benchmark

Version:

Agentic AI Library specialized in LLM Function Calling

43 lines (42 loc) 1.29 kB
/** * @module * This file contains the implementation of the IAgenticaSelectBenchmarkScenario class. * * @author Wrtn Technologies */ import type { IAgenticaBenchmarkExpected } from "./IAgenticaBenchmarkExpected"; /** * Scenario of function selection. * * `IAgenticaSelectBenchmarkScenario` is a data structure which * represents a function selection benchmark scenario. It contains two * properties; {@linkk text} and {@link operations}. * * The {@link text} means the conversation text from the user, and * the other {@link operations} are the expected operations that * should be selected by the `selector` agent through the {@link text} * conversation. * * @author Samchon */ export interface IAgenticaSelectBenchmarkScenario { /** * Name of the scenario. * * It must be unique within the benchmark scenarios. */ name: string; /** * The prompt text from user. */ text: string; /** * Expected function selection sequence. * * Sequence of operations (API operation or class function) that * should be selected by the `selector` agent from the user's * {@link text} conversation for the LLM (Large Language Model) * function selection. */ expected: IAgenticaBenchmarkExpected; }