translation/translated/documents/course/03-agent-memory/14-what-is-semantic-recall.md

12 lines
799 B
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# 实现语义回忆
利用已配置向量存储的最快方法之一是使用语义回忆。
## 什么是语义回忆?
语义回忆是一种基于 RAG检索增强生成的搜索它允许您的智能体根据当前用户查询找到并检索相关的过去对话。这类似于一个人在回答问题时会在记忆中搜索相关信息的方式。
例如,如果用户问"我们上周关于我的项目讨论了什么?",语义回忆可以帮助智能体找到并检索这些特定的对话,即使它们发生在许多消息之前。
语义回忆将您的智能体记忆扩展到最近对话历史的限制之外。虽然对话历史记录只包含最近的消息,但语义回忆可以从对话历史的任何时间点找到并检索相关信息,无论它何时发生。