Interface AgenticaOperationCollection<Model>

Collection of operations used in the Nestia Agent.

IAgenticaOperationCollection is an interface type representing a collection of operations for several purposes used in the Agentica internally.

Samchon

interface AgenticaOperationCollection<Model extends ILlmSchema.Model> {
    array: AgenticaOperation<Model>[];
    divided?: AgenticaOperation<Model>[][];
    flat: Map<string, AgenticaOperation<Model>>;
    group: Map<string, Map<string, AgenticaOperation<Model>>>;
}

Type Parameters

  • Model extends ILlmSchema.Model

Properties

List of every operations.

divided?: AgenticaOperation<Model>[][]

Divided operations.

If you've configured the IAgenticaConfig.capacity property, the A.I. chatbot (Agentica) will separate the operations into the several groups to divide and conquer and LLM function selecting for accuracy.

In that case, this property divided's length would be dtermined by dividing the number of operations (array's length) by the IAgenticaConfig.capacity.

Otherwise, if the IAgenticaConfig.capacity has not been configured, this divided property would be the undefined value.

flat: Map<string, AgenticaOperation<Model>>

Flat dictionary of operations.

Dictionary of operations with their IAgenticaOperation.name.

group: Map<string, Map<string, AgenticaOperation<Model>>>

Group dictionary of operations.

Dictionary of operations with their IAgenticaOperation.controller.name and IAgenticaOperation.function.name.