接口 Retriever<T>
- 类型参数:
T- the type of the items.
已过时。
Interface for retrieving relevant items.
This class is deprecated, use
ContentRetriever instead.-
方法概要
修饰符和类型方法说明findRelevant(Object memoryId, String text) 已过时。Find relevant items for the given text and memoryId.findRelevant(String text) 已过时。Find relevant items for the given text.default ContentRetriever已过时。
-
方法详细资料
-
findRelevant
已过时。Find relevant items for the given text.- 参数:
text- the text to search for.- 返回:
- the list of relevant items.
-
findRelevant
已过时。Find relevant items for the given text and memoryId.Default implementation throws an exception.
- 参数:
memoryId- the memoryId to search for.text- the text to search for.- 返回:
- the list of relevant items.
-
toContentRetriever
已过时。
-