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

请教一下memory unit #26

Open
ouyx189 opened this issue Jun 14, 2024 · 3 comments
Open

请教一下memory unit #26

ouyx189 opened this issue Jun 14, 2024 · 3 comments

Comments

@ouyx189
Copy link

ouyx189 commented Jun 14, 2024

想问一下从代码上看好像planning agent和reflection agent的输入好像是没有memory参与的?
还有就是看你的demo运行速度很快,但实际我尝试调用api的时候一步就需要7,8秒的样子?

@junyangwang0410
Copy link
Collaborator

想问一下从代码上看好像planning agent和reflection agent的输入好像是没有memory参与的? 还有就是看你的demo运行速度很快,但实际我尝试调用api的时候一步就需要7,8秒的样子?

planning agent和reflection agent的memory是从decision agent的输出获取的。

demo有加速处理,并且剪掉了等待相应的内容

@ouyx189
Copy link
Author

ouyx189 commented Jun 14, 2024

拿reflection agent做例子,它的prompt输入是decision agent的summary,action。意思是memory也是从这两个获取的吗?

@junyangwang0410
Copy link
Collaborator

拿reflection agent做例子,它的prompt输入是decision agent的summary,action。意思是memory也是从这两个获取的吗?

是的。memory是decision agent做决策需要的,对于其他agent需要转换为agent所需的内容。例如reflection agent需要的操作意图,也就是decision agent的部分输出,是可能会用到memory中的内容的。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants