Skip to main content
Valyu allows AI applications and agents to search the internet and proprietary data sources for relevant LLM ready information.
This notebook goes over how to use Valyu in LangChain. First, get a Valyu API key and add it as an environment variable. Get $10 free credit by signing up here.

Setup

The integration lives in the langchain-valyu package.
In order to use the package, you will also need to set the VALYU_API_KEY environment variable to your Valyu API key.

Context retriever

You can use the ValyuContextRetriever in a standard retrieval pipeline.

Context search tool

You can use the ValyuSearchTool for advanced search queries.