Skip to main content

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. 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

llama_index_tools_yelp-0.1.3.tar.gz (3.2 kB view hashes)

Uploaded Source

Built Distribution

llama_index_tools_yelp-0.1.3-py3-none-any.whl (3.4 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page