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

Type Parameters

  • T extends ContentsOptions = {
        text: true;
    }

Hierarchy (view full)

Constructors

Properties

Constructors

Properties

searchArgs?: BaseSearchOptions & {} & T