Name | llama-index-tools-bing-search JSON |
Version |
0.2.0
JSON |
| download |
home_page | None |
Summary | llama-index tools bing_search integration |
upload_time | 2024-08-22 07:27:39 |
maintainer | ajhofmann |
docs_url | None |
author | Your Name |
requires_python | <4.0,>=3.8.1 |
license | MIT |
keywords |
|
VCS |
|
bugtrack_url |
|
requirements |
No requirements were recorded.
|
Travis-CI |
No Travis.
|
coveralls test coverage |
No coveralls.
|
# Bing Search Tool
This tool connects to a Bing account and allows an Agent to perform searches for news, images and videos.
You will need to set up a search key using Azure,learn more here: https://learn.microsoft.com/en-us/bing/search-apis/bing-web-search/overview
## Usage
This tool has a more extensive example usage documented in a Jupyter notebook [here](https://github.com/run-llama/llama_index/blob/main/llama-index-integrations/tools/llama-index-tools-bing-search/examples/bing_search.ipynb)
Here's an example usage of the BingSearchToolSpec.
```python
from llama_index.tools.bing_search import BingSearchToolSpec
from llama_index.agent.openai import OpenAIAgent
tool_spec = BingSearchToolSpec(api_key="your-key")
agent = OpenAIAgent.from_tools(tool_spec.to_tool_list())
agent.chat("what's the latest news about superconductors")
agent.chat("what does lk-99 look like")
agent.chat("is there any videos of it levitating")
```
`bing_news_search`: Search for news results related to a query
`bing_image_search`: Search for images related to a query
`bing_video_search`: Search for videos related to a query
This loader is designed to be used as a way to load data as a Tool in a Agent.
Raw data
{
"_id": null,
"home_page": null,
"name": "llama-index-tools-bing-search",
"maintainer": "ajhofmann",
"docs_url": null,
"requires_python": "<4.0,>=3.8.1",
"maintainer_email": null,
"keywords": null,
"author": "Your Name",
"author_email": "you@example.com",
"download_url": "https://files.pythonhosted.org/packages/e4/04/851605871710234483640433c17a84598f4bd9af0d7e1c3d27b92a93001d/llama_index_tools_bing_search-0.2.0.tar.gz",
"platform": null,
"description": "# Bing Search Tool\n\nThis tool connects to a Bing account and allows an Agent to perform searches for news, images and videos.\n\nYou will need to set up a search key using Azure,learn more here: https://learn.microsoft.com/en-us/bing/search-apis/bing-web-search/overview\n\n## Usage\n\nThis tool has a more extensive example usage documented in a Jupyter notebook [here](https://github.com/run-llama/llama_index/blob/main/llama-index-integrations/tools/llama-index-tools-bing-search/examples/bing_search.ipynb)\n\nHere's an example usage of the BingSearchToolSpec.\n\n```python\nfrom llama_index.tools.bing_search import BingSearchToolSpec\nfrom llama_index.agent.openai import OpenAIAgent\n\ntool_spec = BingSearchToolSpec(api_key=\"your-key\")\n\nagent = OpenAIAgent.from_tools(tool_spec.to_tool_list())\n\nagent.chat(\"what's the latest news about superconductors\")\nagent.chat(\"what does lk-99 look like\")\nagent.chat(\"is there any videos of it levitating\")\n```\n\n`bing_news_search`: Search for news results related to a query\n`bing_image_search`: Search for images related to a query\n`bing_video_search`: Search for videos related to a query\n\nThis loader is designed to be used as a way to load data as a Tool in a Agent.\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "llama-index tools bing_search integration",
"version": "0.2.0",
"project_urls": null,
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "178efdcd8df13802083de8db492bbb7007847d99625918e0774b91a31acd5fd7",
"md5": "b6566579b7e4913d25796a0b630509a9",
"sha256": "b698ddb63c14623bc32daa1aa1269bbe3ed0d78a9078a01188530d5957d347d4"
},
"downloads": -1,
"filename": "llama_index_tools_bing_search-0.2.0-py3-none-any.whl",
"has_sig": false,
"md5_digest": "b6566579b7e4913d25796a0b630509a9",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": "<4.0,>=3.8.1",
"size": 2884,
"upload_time": "2024-08-22T07:27:38",
"upload_time_iso_8601": "2024-08-22T07:27:38.712957Z",
"url": "https://files.pythonhosted.org/packages/17/8e/fdcd8df13802083de8db492bbb7007847d99625918e0774b91a31acd5fd7/llama_index_tools_bing_search-0.2.0-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "e404851605871710234483640433c17a84598f4bd9af0d7e1c3d27b92a93001d",
"md5": "c542e114edf28c1c3e79577440758e36",
"sha256": "6dccb4ed76f567432e4a518f3c45976449986d550ee2b2fb5695900dd63f47c0"
},
"downloads": -1,
"filename": "llama_index_tools_bing_search-0.2.0.tar.gz",
"has_sig": false,
"md5_digest": "c542e114edf28c1c3e79577440758e36",
"packagetype": "sdist",
"python_version": "source",
"requires_python": "<4.0,>=3.8.1",
"size": 2580,
"upload_time": "2024-08-22T07:27:39",
"upload_time_iso_8601": "2024-08-22T07:27:39.964735Z",
"url": "https://files.pythonhosted.org/packages/e4/04/851605871710234483640433c17a84598f4bd9af0d7e1c3d27b92a93001d/llama_index_tools_bing_search-0.2.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-08-22 07:27:39",
"github": false,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"lcname": "llama-index-tools-bing-search"
}