const retriever = new ExaRetriever({ client: new Exa( process.env.EXA_API_KEY, process.env.EXA_BASE_URL, ),});const docs = await retriever.getRelevantDocuments("hello"); Copy
const retriever = new ExaRetriever({ client: new Exa( process.env.EXA_API_KEY, process.env.EXA_BASE_URL, ),});const docs = await retriever.getRelevantDocuments("hello");
Optional
Example