llama-index-tools-bing-search


Namellama-index-tools-bing-search JSON
Version 0.3.0 PyPI version JSON
download
home_pageNone
Summaryllama-index tools bing_search integration
upload_time2024-11-17 23:04:34
maintainerajhofmann
docs_urlNone
authorYour Name
requires_python<4.0,>=3.9
licenseMIT
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.9",
    "maintainer_email": null,
    "keywords": null,
    "author": "Your Name",
    "author_email": "you@example.com",
    "download_url": "https://files.pythonhosted.org/packages/92/d4/f6bb02f67465b96b3940e0bcdac647cf17050d3e89b6352cc8656e05f623/llama_index_tools_bing_search-0.3.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.3.0",
    "project_urls": null,
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "260ed7092a1172112c3ab4df93d52e372acc8b6046fa3d6774482133847b361c",
                "md5": "93637ced329e7f1b783220a7b600b1d7",
                "sha256": "1d6768d2bea72c48be8bce62047357eb664df5cdecfa54bbc01e50e554c4ee92"
            },
            "downloads": -1,
            "filename": "llama_index_tools_bing_search-0.3.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "93637ced329e7f1b783220a7b600b1d7",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": "<4.0,>=3.9",
            "size": 2879,
            "upload_time": "2024-11-17T23:04:29",
            "upload_time_iso_8601": "2024-11-17T23:04:29.012845Z",
            "url": "https://files.pythonhosted.org/packages/26/0e/d7092a1172112c3ab4df93d52e372acc8b6046fa3d6774482133847b361c/llama_index_tools_bing_search-0.3.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "92d4f6bb02f67465b96b3940e0bcdac647cf17050d3e89b6352cc8656e05f623",
                "md5": "8461a6a9d426cebb19d88b611b9d69f0",
                "sha256": "360a6a524274ff9f874f9af042ddd0d202affd982c19c10d0682fa3ce1640a78"
            },
            "downloads": -1,
            "filename": "llama_index_tools_bing_search-0.3.0.tar.gz",
            "has_sig": false,
            "md5_digest": "8461a6a9d426cebb19d88b611b9d69f0",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": "<4.0,>=3.9",
            "size": 2591,
            "upload_time": "2024-11-17T23:04:34",
            "upload_time_iso_8601": "2024-11-17T23:04:34.372100Z",
            "url": "https://files.pythonhosted.org/packages/92/d4/f6bb02f67465b96b3940e0bcdac647cf17050d3e89b6352cc8656e05f623/llama_index_tools_bing_search-0.3.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-11-17 23:04:34",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "lcname": "llama-index-tools-bing-search"
}
        
Elapsed time: 0.41320s