Skip to main content
Bing Search is an Azure service and enables safe, ad-free, location-aware search results, surfacing relevant information from billions of web documents. Help your users find what they’re looking for from the world-wide-web by harnessing Bing’s ability to comb billions of webpages, images, videos, and news with a single API call.

Setup

Following the instruction to create Azure Bing Search v7 service, and get the subscription key The integration lives in the langchain-community package.

Number of results

You can use the k parameter to set the number of results

Metadata Results

Run query through BingSearch and return snippet, title, and link metadata.
  • Snippet: The description of the result.
  • Title: The title of the result.
  • Link: The link to the result.

Tool Usage

Chaining

We show here how to use it as part of an agent. We use the OpenAI Functions Agent, so we will need to setup and install the required dependencies for that. We will also use LangSmith Hub to pull the prompt from, so we will need to install that.

Connect these docs programmatically to Claude, VSCode, and more via MCP for real-time answers.