Setup
Installation
Install the LangChain Perigon integration package:Credentials
You’ll need a Perigon API key to use this integration. Sign up at Perigon.io for your API key.Using ArticlesRetriever
The ArticlesRetriever allows you to search through news articles using semantic search capabilities:Basic Usage
Advanced Features with Filtering
You can use advanced filtering options to narrow down your search results:Location-Based Filtering
You can filter articles by geographic relevance:Using WikipediaRetriever
The WikipediaRetriever provides semantic search capabilities over Wikipedia content with rich metadata:Basic Usage
Advanced Wikipedia Search
You can filter Wikipedia results by popularity, categories, and other metadata:Time-Based Wikipedia Filtering
Filter Wikipedia articles by revision dates:Async Usage
Both retrievers support asynchronous operations for better performance:API reference
For detailed documentation of all Perigon API features and configurations, visit the Perigon API documentation.Connect these docs programmatically to Claude, VSCode, and more via MCP for real-time answers.