llama-index tools bing_search integration
Project description
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
Here's an example usage of the BingSearchToolSpec.
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.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for llama_index_tools_bing_search-0.2.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6dccb4ed76f567432e4a518f3c45976449986d550ee2b2fb5695900dd63f47c0 |
|
MD5 | c542e114edf28c1c3e79577440758e36 |
|
BLAKE2b-256 | e404851605871710234483640433c17a84598f4bd9af0d7e1c3d27b92a93001d |
Hashes for llama_index_tools_bing_search-0.2.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b698ddb63c14623bc32daa1aa1269bbe3ed0d78a9078a01188530d5957d347d4 |
|
MD5 | b6566579b7e4913d25796a0b630509a9 |
|
BLAKE2b-256 | 178efdcd8df13802083de8db492bbb7007847d99625918e0774b91a31acd5fd7 |