mirror of
https://github.com/hwchase17/langchain.git
synced 2025-06-21 06:14:37 +00:00
docs: clean up link to bing search (#21825)
Documentation should be inlined, not linking to medium article.
This commit is contained in:
parent
22d9aed508
commit
e3f30b4cde
@ -15,8 +15,6 @@
|
|||||||
"source": [
|
"source": [
|
||||||
"This notebook goes over how to use the bing search component.\n",
|
"This notebook goes over how to use the bing search component.\n",
|
||||||
"\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."
|
"Then we will need to set some environment variables."
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
@ -1,8 +1,4 @@
|
|||||||
"""Util that calls Bing Search.
|
"""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
|
|
||||||
"""
|
|
||||||
from typing import Dict, List
|
from typing import Dict, List
|
||||||
|
|
||||||
import requests
|
import requests
|
||||||
@ -11,11 +7,7 @@ from langchain_core.utils import get_from_dict_or_env
|
|||||||
|
|
||||||
|
|
||||||
class BingSearchAPIWrapper(BaseModel):
|
class BingSearchAPIWrapper(BaseModel):
|
||||||
"""Wrapper for Bing Search API.
|
"""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
|
|
||||||
"""
|
|
||||||
|
|
||||||
bing_subscription_key: str
|
bing_subscription_key: str
|
||||||
bing_search_url: str
|
bing_search_url: str
|
||||||
|
Loading…
Reference in New Issue
Block a user