Skip to main content

概述

Exa is a search engine that retrieves relevant content from the web given some input query. 本指南将帮助你开始使用 ExaRetriever retrieval。有关所有 ExaRetriever 功能和配置的详细文档,请前往 API 参考

集成详情

设置

You’ll need to set your API key as an environment variable. The Exa class defaults to EXASEARCH_API_KEY when searching for your API key.
If you want to get automated tracing from individual queries, you can also set your LangSmith API key by uncommenting below:

安装

This retriever lives in the @langchain/exa package:

实例化

Now we can instantiate our retriever:

用法


API 参考

有关所有 ExaRetriever 功能和配置的详细文档,请前往 API 参考