llama-index tools brave_search integration
Project description
LlamaIndex Tools Integration: Brave_Search
This tool enables agents to search and retrieve results from the Brave search engine.
You will need to set up an Brave account to get an search api key. Please check more here: https://brave.com/search/api
Usage
This tool has a more extensive example usage documented in a Jupyter notebook here
Here's an example usage of the BraveSearchToolSpec.
from llama_index.tools.brave_search import BraveSearchToolSpec
from llama_index.agent.openai import OpenAIAgent
tool_spec = BraveSearchToolSpec(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")
Project details
Release history Release notifications | RSS feed
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
Close
Hashes for llama_index_tools_brave_search-0.2.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6feb78b1d008bb2bc6d85ae891abd9f50e6b98d9c7092308c6d6b927172d7e12 |
|
MD5 | ff6a51a647e08bcb98e04be307d975a2 |
|
BLAKE2b-256 | b5a14849bf848c5316026370999c729304a6ede095a24b9046ceddda0cdf9daf |
Close
Hashes for llama_index_tools_brave_search-0.2.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7b9b4add6ecc5723326f9b835eafdbea329e595075b4aab0fb6fe9851f8ed331 |
|
MD5 | f4fcfd367875c15b2d7cf953391f54aa |
|
BLAKE2b-256 | ef2063030e45ef47cea79286f0c3f0f5ae5f21d133e55524d7183adda121d857 |