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.openai 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.
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_zapier-0.2.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0d70b893f3c06bf1760cb877f3e03433e2e114f234ff15096c2479128c32b396 |
|
MD5 | afd1ab98e86d5c01909e504aec065fe7 |
|
BLAKE2b-256 | 384723ac9b186cf519c5c29c6a306ea00ad08273eb1432aa24c07ee8d1d162b2 |
Close
Hashes for llama_index_tools_zapier-0.2.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | bb618bd2dabeb51b29fb93bcd2be3d482b7b6f076f84cebf2c386d24282b6db8 |
|
MD5 | 93b7b0ada8cc5358c2fc225b9df5cfff |
|
BLAKE2b-256 | a655b69e026670551f634540c27585023e4079c5b531fe5b1927cae973894d3e |