Collection of operations used in the Nestia Agent.

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

Jeongho Nam - https://github.com/samchon

interface INestiaAgentOperationCollection {
    array: INestiaAgentOperation[];
    divided?: INestiaAgentOperation[][];
    flat: Map<string, INestiaAgentOperation>;
    group: Map<string, Map<string, INestiaAgentOperation>>;
}

Properties

List of every operations.

divided?: INestiaAgentOperation[][]

Divided operations.

If you've configured the INestiaAgentConfig.capacity property, the A.I. chatbot (NestiaAgent) 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 INestiaAgentConfig.capacity.

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

flat: Map<string, INestiaAgentOperation>

Flat dictionary of operations.

Dictionary of operations with their INestiaAgentOperation.name.

group: Map<string, Map<string, INestiaAgentOperation>>

Group dictionary of operations.

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