Skip to main content
The You.com API is a suite of tools designed to help developers ground the output of LLMs in the most recent, most accurate, most relevant information that may not have been included in their training dataset.

Setup

Install the langchain-youdotcom package and set your You.com API key. Get your API key at you.com/platform.
It’s also helpful (but not needed) to set up LangSmith for best-in-class observability.

Tool usage

The langchain-youdotcom package provides two tools: YouSearchTool for web search and YouContentsTool for fetching and extracting clean content from web pages.

Chaining

Use YouSearchTool as part of an agent.