Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[RFC] Action Agent Interface #17

Open
samchon opened this issue Jan 13, 2025 · 4 comments
Open

[RFC] Action Agent Interface #17

samchon opened this issue Jan 13, 2025 · 4 comments
Assignees
Labels
documentation Improvements or additions to documentation enhancement New feature or request good first issue Good for newcomers

Comments

@samchon
Copy link
Collaborator

samchon commented Jan 13, 2025

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 the INestiaAgentPrompt type representing a chat history.

INestiaAgentEvent

The @nestia/agent delivers INestiaAgentEvent 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

@samchon samchon added documentation Improvements or additions to documentation enhancement New feature or request good first issue Good for newcomers labels Jan 13, 2025
@samchon samchon added this to the Migration rust to typescript milestone Jan 13, 2025
@samchon samchon added this to WrtnLabs Jan 13, 2025
@samchon samchon moved this to Todo in WrtnLabs Jan 13, 2025
@sunrabbit123
Copy link
Contributor

I like it.
but, I think that this suggestion should be pull request

@sunrabbit123
Copy link
Contributor

assign me, I will convert this issue to pr

@AcrylicShrimp AcrylicShrimp changed the title Suggest new agent's interfaces [RFC] Action Agent Interface Jan 14, 2025
samchon added a commit that referenced this issue Jan 14, 2025
feat: implement default interface
@sunrabbit123
Copy link
Contributor

#22

@sunrabbit123
Copy link
Contributor

There is no comment from within the team.
I dare to predict that the typescript migration will end and work.

@sunrabbit123 sunrabbit123 moved this from Todo to Drop in WrtnLabs Feb 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation enhancement New feature or request good first issue Good for newcomers
Projects
Status: Drop
Development

No branches or pull requests

6 participants