Exa Search
Exa's search integration exists in its own partner package. You can install it with:
%pip install -qU langchain-exa
In order to use the package, you will also need to set the EXA_API_KEY
environment variable to your Exa API key.
Retriever
You can use the ExaSearchRetriever
in a standard retrieval pipeline. You can import it as follows
from langchain_exa import ExaSearchRetriever
API Reference:ExaSearchRetriever
Tools
You can use Exa as an agent tool as described in the Exa tool calling docs.