Initializer constructor.
Properties to construct the agent
Conversate with the A.I. chatbot.
User talks to the A.I. chatbot with the content.
When the user's conversation implies the A.I. chatbot to execute a function calling, the returned chat prompts will contain the function calling information like INestiaAgentPrompt.IExecute.
The content to talk
List of newly created chat prompts
Get configuration.
Get controllers.
Get list of controllers, which are the collection of functions that the "Super A.I. Chatbot" can execute.
Get the chatbot's prompt histories.
Get list of chat prompts that the chatbot has been conversated.
List of chat prompts
Get LLM Provider.
Get token usage of the A.I. chatbot.
Entire token usage of the A.I. chatbot during the conversating with the user by conversate method callings.
Cost of the A.I. chatbot
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.
Nestia A.I. chatbot agent.
NestiaChatAgent
is a facade class for the super A.I. chatbot agent which performs the converstate user's conversation function with LLM (Large Language Model) function calling and manages the prompt histories.To understand and compose the
NestiaAgent
class exactly, reference below types concentrating on the documentation comments please. Especially, you have to be careful about the INestiaAgentProps type which is used in the constructor function.Author
Jeongho Nam - https://github.com/samchon