[RFC] Action Agent Interface #17
Labels
documentation
Improvements or additions to documentation
enhancement
New feature or request
good first issue
Good for newcomers
Milestone
Preface
I'd personally developed TypeScript Super A.I. chatbot, and suggest its interface structure due to it seems reasonable.
Travel below code, and accept as much as you want.
At first, it starts from the
NestiaAgent
facade class.INestiaAgentProps
When creating a new
NestiaAgent
class instance,INestiaAgentProps
must be assigned.The
INestiaAgentProps
supports multiple swagger and TypeScript class controllers at the same time.And its definitions are like below:
INestiaAgentPrompt
The
@nestia/agent
had defined theINestiaAgentPrompt
type representing a chat history.INestiaAgentEvent
The
@nestia/agent
deliversINestiaAgentEvent
type as an event.Agents
There are five agents in the
@nestia/agent
.The key principles of these five agents are, managing candidate functions as a stack structure, and dividing and conquering when selecting the candidate functions to call.
System Prompts
You can manage the system prompts as markdown files under below directory:
https://github.com/samchon/nestia/tree/master/packages/agent/prompts
The text was updated successfully, but these errors were encountered: