UNPKG

@agentica/core

Version:

Agentic AI Library specialized in LLM Function Calling

26 lines (25 loc) 697 B
import type { IValidation } from "typia"; import type { AgenticaOperation } from "../context/AgenticaOperation"; import type { IAgenticaEventJson } from "../json/IAgenticaEventJson"; import type { AgenticaEventBase } from "./AgenticaEventBase"; /** * Event of a validation feedback. * * @author Samchon */ export interface AgenticaValidateEvent extends AgenticaEventBase<"validate"> { /** * ID of the tool calling. */ call_id: string; /** * Target operation to call. */ operation: AgenticaOperation; /** * Validation result as a failure. */ result: IValidation.IFailure; life: number; toJSON: () => IAgenticaEventJson.IValidate; }