Class for retrieving information from a Zep Cloud long-term memory store. Extends the BaseRetriever class.
const retriever = new ZepCloudRetriever({ apiKey: "<zep cloud project api key>", sessionId: "session_exampleUUID", topK: 3,});const query = "Can I drive red cars in France?";const docs = await retriever.getRelevantDocuments(query); Copy
const retriever = new ZepCloudRetriever({ apiKey: "<zep cloud project api key>", sessionId: "session_exampleUUID", topK: 3,});const query = "Can I drive red cars in France?";const docs = await retriever.getRelevantDocuments(query);
Retrieves the relevant documents based on the given query.
The query string.
A promise that resolves to an array of relevant Document objects.
Static
Class for retrieving information from a Zep Cloud long-term memory store. Extends the BaseRetriever class.
Example