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 an Valyu API key and add it as an environment variable. Get $10 free credit by signing up here.
Setup
The integration lives in thelangchain-valyu
package.
VALYU_API_KEY
environment variable to your Valyu API key.
Context Retriever
You can use theValyuContextRetriever
in a standard retrieval pipeline.
Context Search Tool
You can use theValyuSearchTool
for advanced search queries.