docs: clean up link to bing search (#21825)

Documentation should be inlined, not linking to medium article.
This commit is contained in:
Eugene Yurtsev 2024-05-17 15:06:56 -04:00 committed by GitHub
parent 22d9aed508
commit e3f30b4cde
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 12 deletions

View File

@ -15,8 +15,6 @@
"source": [
"This notebook goes over how to use the bing search component.\n",
"\n",
"First, you need to set up the proper API keys and environment variables. To set it up, follow the instructions found [here](https://levelup.gitconnected.com/api-tutorial-how-to-use-bing-web-search-api-in-python-4165d5592a7e).\n",
"\n",
"Then we will need to set some environment variables."
]
},

View File

@ -1,8 +1,4 @@
"""Util that calls Bing Search.
In order to set this up, follow instructions at:
https://levelup.gitconnected.com/api-tutorial-how-to-use-bing-web-search-api-in-python-4165d5592a7e
"""
"""Util that calls Bing Search."""
from typing import Dict, List
import requests
@ -11,11 +7,7 @@ from langchain_core.utils import get_from_dict_or_env
class BingSearchAPIWrapper(BaseModel):
"""Wrapper for Bing Search API.
In order to set this up, follow instructions at:
https://levelup.gitconnected.com/api-tutorial-how-to-use-bing-web-search-api-in-python-4165d5592a7e
"""
"""Wrapper for Bing Search API."""
bing_subscription_key: str
bing_search_url: str