llama-index-tools-brave-search


Namellama-index-tools-brave-search JSON
Version 0.2.0 PyPI version JSON
download
home_pageNone
Summaryllama-index tools brave_search integration
upload_time2024-08-22 07:28:26
maintainerNone
docs_urlNone
authorYour Name
requires_python<4.0,>=3.8.1
licenseMIT
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # 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](./examples/brave_search.ipynb)

Here's an example usage of the BraveSearchToolSpec.

```python
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")
```

            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "llama-index-tools-brave-search",
    "maintainer": null,
    "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/b5/a1/4849bf848c5316026370999c729304a6ede095a24b9046ceddda0cdf9daf/llama_index_tools_brave_search-0.2.0.tar.gz",
    "platform": null,
    "description": "# LlamaIndex Tools Integration: Brave_Search\n\nThis tool enables agents to search and retrieve results from the Brave search engine.\n\nYou will need to set up an Brave account to get an search api key. Please check more here: https://brave.com/search/api\n\n## Usage\n\nThis tool has a more extensive example usage documented in a Jupyter notebook [here](./examples/brave_search.ipynb)\n\nHere's an example usage of the BraveSearchToolSpec.\n\n```python\nfrom llama_index.tools.brave_search import BraveSearchToolSpec\nfrom llama_index.agent.openai import OpenAIAgent\n\ntool_spec = BraveSearchToolSpec(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",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "llama-index tools brave_search integration",
    "version": "0.2.0",
    "project_urls": null,
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "ef2063030e45ef47cea79286f0c3f0f5ae5f21d133e55524d7183adda121d857",
                "md5": "f4fcfd367875c15b2d7cf953391f54aa",
                "sha256": "7b9b4add6ecc5723326f9b835eafdbea329e595075b4aab0fb6fe9851f8ed331"
            },
            "downloads": -1,
            "filename": "llama_index_tools_brave_search-0.2.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "f4fcfd367875c15b2d7cf953391f54aa",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": "<4.0,>=3.8.1",
            "size": 2786,
            "upload_time": "2024-08-22T07:28:24",
            "upload_time_iso_8601": "2024-08-22T07:28:24.977149Z",
            "url": "https://files.pythonhosted.org/packages/ef/20/63030e45ef47cea79286f0c3f0f5ae5f21d133e55524d7183adda121d857/llama_index_tools_brave_search-0.2.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "b5a14849bf848c5316026370999c729304a6ede095a24b9046ceddda0cdf9daf",
                "md5": "ff6a51a647e08bcb98e04be307d975a2",
                "sha256": "6feb78b1d008bb2bc6d85ae891abd9f50e6b98d9c7092308c6d6b927172d7e12"
            },
            "downloads": -1,
            "filename": "llama_index_tools_brave_search-0.2.0.tar.gz",
            "has_sig": false,
            "md5_digest": "ff6a51a647e08bcb98e04be307d975a2",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": "<4.0,>=3.8.1",
            "size": 2619,
            "upload_time": "2024-08-22T07:28:26",
            "upload_time_iso_8601": "2024-08-22T07:28:26.089057Z",
            "url": "https://files.pythonhosted.org/packages/b5/a1/4849bf848c5316026370999c729304a6ede095a24b9046ceddda0cdf9daf/llama_index_tools_brave_search-0.2.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-08-22 07:28:26",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "lcname": "llama-index-tools-brave-search"
}
        
Elapsed time: 0.83738s