Optional
configConfiguration of agent.
Configuration of A.I. chatbot agent including the user's locale, timezone, and some of system prompts. Also, you can affect to the LLM function selecting/calling logic by configuring additional properties.
If you don't configure this property, these values would be default.
locale
: your system's locale and timezonetimezone
: your system's timezonesystemPrompt
: default prompts written in markdown
Controllers serving functions to call.
Optional
historiesPrompt histories.
If you're starting the conversation from an existing session, assign the previouis prompt histories to this property.
LLM schema model.
LLM service vendor.
Properties of the Nestia Agent.
IAgenticaProps
is an interface that defines the properties of the Agentica.constructor. In theIAgenticaProps
, there're everything to prepare to create a Super A.I. chatbot performing the LLM (Large Language Model) function calling.At first, you have to specify the LLM service vendor like OpenAI with its API key and client API. And then, you have to define the controllers serving the functions to call. The controllers are separated by two protocols; HTTP API and TypeScript class. At last, you can configure the agent by setting the locale, timezone, and some of system prompts.
Additionally, if you want to start from the previous A.I. chatbot session, you can accomplish it by assigning the previous prompt histories to the histories property.
Author
Samchon