Skip to content

Commit

Permalink
docs: clean up link to bing search (#21825)
Browse files Browse the repository at this point in the history
Documentation should be inlined, not linking to medium article.
  • Loading branch information
eyurtsev authored May 17, 2024
1 parent 22d9aed commit e3f30b4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 12 deletions.
2 changes: 0 additions & 2 deletions docs/docs/integrations/tools/bing_search.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -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."
]
},
Expand Down
12 changes: 2 additions & 10 deletions libs/community/langchain_community/utilities/bing_search.py
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -11,11 +7,7 @@


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
Expand Down

0 comments on commit e3f30b4

Please sign in to comment.