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.

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.3.0.tar.gz (3.2 kB view details)

Uploaded Source

Built Distribution

llama_index_tools_yelp-0.3.0-py3-none-any.whl (3.4 kB view details)

Uploaded Python 3

File details

Details for the file llama_index_tools_yelp-0.3.0.tar.gz.

File metadata

  • Download URL: llama_index_tools_yelp-0.3.0.tar.gz
  • Upload date:
  • Size: 3.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.11.10 Darwin/22.3.0

File hashes

Hashes for llama_index_tools_yelp-0.3.0.tar.gz
Algorithm Hash digest
SHA256 6b1eea8c97a50e0736feafc6425a54ea042eaef74686e7b986ab457f5d227de7
MD5 3a8f1ea3351d2dca5d11ea8cd256fba9
BLAKE2b-256 8ede17d06c9e72ed19a9ca503cc4547a1a6c6bc34bf13855f97cfff0d588b984

See more details on using hashes here.

File details

Details for the file llama_index_tools_yelp-0.3.0-py3-none-any.whl.

File metadata

File hashes

Hashes for llama_index_tools_yelp-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 063e8c73e5c590e1143f7c0144a6c7b0b6e37c04588147de2811f98c07f2ad25
MD5 22786d4d54e18da04488efc2f77edfa5
BLAKE2b-256 25f20ea30363db1fa30f54bcd519a84409eb145acf266ac9604eec446fe65437

See more details on using hashes here.

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