llama-index tools yelp integration
Project description
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
Here's an example usage of the YelpToolSpec.
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.
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
Close
Hashes for llama_index_tools_yelp-0.2.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | c102157ea47e72501094ec4d0921efd068df775716dc2822e43c493a9bab8a03 |
|
MD5 | d84d6c9bd2f41aefe3e226e960a5c7b1 |
|
BLAKE2b-256 | b1b4f8dff98b54fad93eedf7673983df4af2ffd7b07e1afdecb109e26fbce0a6 |
Close
Hashes for llama_index_tools_yelp-0.2.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 956a38aed032d0b590cdf9d32c82dc823b71d8bdad3234095617b1d2a446c68f |
|
MD5 | 92bfae3e61b5989bb0290081727b4d14 |
|
BLAKE2b-256 | c126cd33eae032a38defcb0ffc3793f3d3c0d36d3880f197a5257213d04aa5d5 |