llama-index-tools-yelp


Namellama-index-tools-yelp JSON
Version 0.2.0 PyPI version JSON
download
home_pageNone
Summaryllama-index tools yelp integration
upload_time2024-08-22 07:46:23
maintainerajhofmann
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.
            # Yelp Tool

This tool connects to Yelp and allows the Agent to search for business and fetch the reviews.

## Usage

This tool has 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-yelp/examples/yelp.ipynb)

Here's an example usage of the YelpToolSpec.

```python
from llama_index.tools.yelp import YelpToolSpec


tool_spec = YelpToolSpec(api_key="your-key", client_id="your-id")

agent = OpenAIAgent.from_tools(zapier_spec.to_tool_list(), verbose=True)

agent.chat("what good restaurants are in toronto")
agent.chat("what are the details of lao lao bar")
```

`business_search`: Use a natural language query to search for businesses
`business_reviews`: Use a business id to fetch reviews

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-yelp",
    "maintainer": "ajhofmann",
    "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/b1/b4/f8dff98b54fad93eedf7673983df4af2ffd7b07e1afdecb109e26fbce0a6/llama_index_tools_yelp-0.2.0.tar.gz",
    "platform": null,
    "description": "# Yelp Tool\n\nThis tool connects to Yelp and allows the Agent to search for business and fetch the reviews.\n\n## Usage\n\nThis tool has 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-yelp/examples/yelp.ipynb)\n\nHere's an example usage of the YelpToolSpec.\n\n```python\nfrom llama_index.tools.yelp import YelpToolSpec\n\n\ntool_spec = YelpToolSpec(api_key=\"your-key\", client_id=\"your-id\")\n\nagent = OpenAIAgent.from_tools(zapier_spec.to_tool_list(), verbose=True)\n\nagent.chat(\"what good restaurants are in toronto\")\nagent.chat(\"what are the details of lao lao bar\")\n```\n\n`business_search`: Use a natural language query to search for businesses\n`business_reviews`: Use a business id to fetch reviews\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 yelp integration",
    "version": "0.2.0",
    "project_urls": null,
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "c126cd33eae032a38defcb0ffc3793f3d3c0d36d3880f197a5257213d04aa5d5",
                "md5": "92bfae3e61b5989bb0290081727b4d14",
                "sha256": "956a38aed032d0b590cdf9d32c82dc823b71d8bdad3234095617b1d2a446c68f"
            },
            "downloads": -1,
            "filename": "llama_index_tools_yelp-0.2.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "92bfae3e61b5989bb0290081727b4d14",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": "<4.0,>=3.8.1",
            "size": 3395,
            "upload_time": "2024-08-22T07:46:21",
            "upload_time_iso_8601": "2024-08-22T07:46:21.797442Z",
            "url": "https://files.pythonhosted.org/packages/c1/26/cd33eae032a38defcb0ffc3793f3d3c0d36d3880f197a5257213d04aa5d5/llama_index_tools_yelp-0.2.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "b1b4f8dff98b54fad93eedf7673983df4af2ffd7b07e1afdecb109e26fbce0a6",
                "md5": "d84d6c9bd2f41aefe3e226e960a5c7b1",
                "sha256": "c102157ea47e72501094ec4d0921efd068df775716dc2822e43c493a9bab8a03"
            },
            "downloads": -1,
            "filename": "llama_index_tools_yelp-0.2.0.tar.gz",
            "has_sig": false,
            "md5_digest": "d84d6c9bd2f41aefe3e226e960a5c7b1",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": "<4.0,>=3.8.1",
            "size": 3239,
            "upload_time": "2024-08-22T07:46:23",
            "upload_time_iso_8601": "2024-08-22T07:46:23.137235Z",
            "url": "https://files.pythonhosted.org/packages/b1/b4/f8dff98b54fad93eedf7673983df4af2ffd7b07e1afdecb109e26fbce0a6/llama_index_tools_yelp-0.2.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-08-22 07:46:23",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "lcname": "llama-index-tools-yelp"
}
        
Elapsed time: 0.30283s