@agentica/benchmark
Version:
Agentic AI Library specialized in LLM Function Calling
44 lines (43 loc) • 1.38 kB
TypeScript
/**
* @module
* This file contains the implementation of the IAgenticaSelectBenchmarkScenario class.
*
* @author Wrtn Technologies
*/
import type { ILlmSchema } from "@samchon/openapi";
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<Model extends ILlmSchema.Model> {
/**
* 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<Model>;
}