Reddit · r/artificial· /u/Wrong_City2251·· 3 小时前AI 评分9
多轮 Agent 的对话状态与记忆应存放在哪里:Redis、Postgres 还是 Lakebase
Where are you storing agent memory and conversation state
AI 导读
一位开发者在搭建多轮 Agent 时,最初把对话历史与工具日志分散存放在 Redis 和 Postgres 中,因同步成本过高转而全部迁移到兼容 Postgres 的 Lakebase。他在帖子中询问其他开发者:持久化会话状态和 agent memory 时,应使用结构化表,还是直接将内容写入向量库。
来源:Reddit · r/artificial · reddit.com