Operation information in the Agentica Agent.

IAgenticaOperation is a type represents an operation that would be selected by the A.I. chatbot of Agentica class to perform the LLM (Large Language Model) function calling.

Also, it is an union type that is discriminated by the protocol property. If the protocol value is http, it means that the HTTP API operation would be called by the A.I. chatbot. Otherwise, if the protocol value is class, it means that the operation has come from a TypeScript class.

Samchon

interface IAgenticaOperationJson {
    controller: string;
    function: string;
    name: string;
    protocol: "class" | "http";
}

Properties

controller: string

Belonged controller of the target function.

function: string

Target function to call.

name: string

Identifier name.

protocol: "class" | "http"

Protocol discriminator.