Skip to main content

llama-index tools zapier integration

Project description

Zapier Tool

This tool connects to a Zapier account and allows access to the natural language actions API. You can learn more about and enable the NLA API here: https://nla.zapier.com/start/

Usage

This tool has more extensive example usage documented in a Jupyter notebook here

Here's an example usage of the ZapierToolSpec.

from llama_index.tools.zapier import ZapierToolSpec
from llama_index.agent import OpenAIAgent


zapier_spec = ZapierToolSpec(api_key="sk-ak-your-key")
## Or
zapier_spec = ZapierToolSpec(api_key="oauth-token")

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

agent.chat("what actions are available")
agent.chat("Can you find the taco night file in google drive")

list_actions: Get the actions that you have enabled through zapier natural_language_query: Make a natural language query to zapier

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_zapier-0.1.3.tar.gz (2.9 kB view hashes)

Uploaded Source

Built Distribution

llama_index_tools_zapier-0.1.3-py3-none-any.whl (3.1 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