The agent engineering platform.
Python agentsaiai-agentsanthropicchatgptdeepagentsenterpriseframeworkgeminigenerative-ailangchainlanggraphllmmultiagentopen-sourceopenaipydanticpythonragtypescript
docs: add bing search tool to ms platform (#23183)
Qingchuan Hao9b82707ea6be
diff --git a/docs/docs/integrations/platforms/microsoft.mdx b/docs/docs/integrations/platforms/microsoft.mdxindex a0a348bca5..5758b8b7ab 100644--- a/docs/docs/integrations/platforms/microsoft.mdx+++ b/docs/docs/integrations/platforms/microsoft.mdx@@ -312,7 +312,7 @@ from langchain.retrievers import AzureAISearchRetriever### Azure Container Apps dynamic sessionsWe need to get the `POOL_MANAGEMENT_ENDPOINT` environment variable from the Azure Container Apps service.-See the instructions [here](https://python.langchain.com/v0.2/docs/integrations/tools/azure_dynamic_sessions/#setup).+See the instructions [here](/docs/integrations/tools/azure_dynamic_sessions/#setup).We need to install a python package.@@ -326,6 +326,19 @@ See a [usage example](/docs/integrations/tools/azure_dynamic_sessions).from langchain_azure_dynamic_sessions import SessionsPythonREPLTool```+### Bing Search++Follow the documentation [here](/docs/integrations/tools/bing_search) to get a detail explanations and instructions of this tool.++The environment variable `BING_SUBSCRIPTION_KEY` and `BING_SEARCH_URL` are required from Bing Search resource.++```bash+from langchain_community.tools.bing_search import BingSearchResults+from langchain_community.utilities import BingSearchAPIWrapper++api_wrapper = BingSearchAPIWrapper()+tool = BingSearchResults(api_wrapper=api_wrapper)+```## Toolkitsdiff --git a/docs/docs/integrations/tools/bing_search.ipynb b/docs/docs/integrations/tools/bing_search.ipynbindex e441f64bb6..4756013a66 100644--- a/docs/docs/integrations/tools/bing_search.ipynb+++ b/docs/docs/integrations/tools/bing_search.ipynb@@ -6,7 +6,7 @@"source": ["# Bing Search\n","\n",- "[Microsoft Bing](https://www.bing.com/), commonly referred to as `Bing` or `Bing Search`, is a web search engine owned and operated by `Microsoft`."+ "> [Bing Search](https://learn.microsoft.com/en-us/bing/search-apis/bing-web-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. "]},{