@agentica/core
Version:
Agentic AI Library specialized in LLM Function Calling
25 lines (24 loc) • 746 B
TypeScript
import type { IAgenticaOperationJson } from "./IAgenticaOperationJson";
/**
* Agentica agent operation selection.
*
* `IAgenticaOperationSelection` is a type represents an operation
* which has been selected by the A.I. chatbot of {@link Agentica}
* class for the LLM (Large Language Model) function calling with
* detailed {@link reason} of the selection (or cancellation).
*
* Also, `IAgenticaOperationSelection` is an union type that can
* specify a subtype by checking the {@link protocol} property.
*
* @author Samchon
*/
export interface IAgenticaOperationSelectionJson {
/**
* The reason of the selection.
*/
reason: string;
/**
* Selected operation.
*/
operation: IAgenticaOperationJson;
}