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 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. See here for examples.
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.1.3.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | f33203ccc959b6965116eaf535d3ff62182d3814a0be6fb67ed780900e3e7a2d |
|
MD5 | 7a406ec9c6f73d421cb2363e674fc1ea |
|
BLAKE2b-256 | 53df7afbac8f433046e1622111b37430e1a61a72bc72e1c63d3cd2ab79edea24 |
Hashes for llama_index_tools_bing_search-0.1.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b080c4f68193afaa92d89bf94a28facf55c95364c7b2ab1031512a02c4a243d0 |
|
MD5 | a862480a46518a0bc9579427aca299a1 |
|
BLAKE2b-256 | b28602c9dcf7112bc7c73a0026dbd73c8329a85773182dd86867ea9468150e0f |