Initializer constructor.
Properties to construct the agent
Conversate with the AI chatbot.
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 calling information like AgenticaExecuteHistory.
The content to talk
Optionaloptions: { abortSignal?: AbortSignal }Options
OptionalabortSignal?: AbortSignalAbort signal
List of newly created chat prompts
Get configuration.
Get controllers.
Get list of controllers, which are the collection of functions that the "Super AI Chatbot" can execute.
Get the chatbot's histories.
Get list of chat histories that the chatbot has been conversated.
List of chat histories
Get operations.
Get list of operations, which has capsuled the pair of controller and function from the controllers.
List of operations
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.
Add an event listener.
Add an event listener to be called whenever the event is emitted.
Agentica AI chatbot agent.
Agenticais a facade class for the super AI chatbot agent which performs LLM (Large Language Model) function calling from the user's conversation, and manages the prompt histories.To understand and compose the
Agenticaclass exactly, reference below types concentrating on the documentation comments please. Especially, you have to be careful about the IAgenticaProps type which is used in the constructor function.Author
Samchon