Initializer Constructor.
Properties to construct the micro agent
Conversate with the micro agent.
User talks to the AI chatbot with the given content.
When the user's conversation implies the AI chatbot to execute a function calling, the returned chat prompts will contain the function callinng information like AgenticaExecuteHistory
The content to talk
List of newly created histories
Get configuration.
Get controllers.
Get list of controllers, which are the collection of functions that the agent can execute.
Get the chatbot's histories.
Get list of chat histories that the chatbot has been conversated.
List of chat histories
Get token usage of the AI chatbot.
Entire token usage of the AI chatbot during the conversating with the user by conversate method callings.
Cost of the AI chatbot
Get LLM vendor.
Erase an event listener.
Erase an event listener to stop calling the callback function.
Type of event
Callback function to erase
Add an event listener.
Add an event listener to be called whenever the event is emitted.
Type of event
Callback function to be called whenever the event is emitted
Micro AI chatbot.
MicroAgentica
is a facade class for the micro AI chatbot agent which performs LLM (Large Language Model) function calling from the user's conversation and manages the prompt histories.Different between
MicroAgentica
and Agentica is thatMicroAgentica
does not have function selecting filter. It directly list up every functions to the agent. Besides, Agentica has a function selecting mechanism to reduce the number of functions to be listed up to the agent.Therefore, if you have a lot of functions to call, you must not use this
MicroAgentica
class. Use thisMicroAgentica
class only when you have a few functions to call.@agentica
MicroAgentica
Author
Samchon