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
Built Distribution
Close
Hashes for llama_index_tools_zapier-0.1.3.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | c36f679672225d299348fe57f239b2d9dfcff9d2d278932cb603773d2f9ef99e |
|
MD5 | 00c13856b3ae4ef72c809a97b4396d02 |
|
BLAKE2b-256 | cf8bec289558b29e64e1ba8101f3044181bbd844d705fa4e4b8b7fc6344fd7fd |
Close
Hashes for llama_index_tools_zapier-0.1.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b5119e129fa44266aa437deac29c7baba190e78326931dcafa36f15cbaa9f9a3 |
|
MD5 | e3d29fbc1b9885ecd52ed7bffebd5ca7 |
|
BLAKE2b-256 | 08d50518ac2d23ab68ef699b2ad856701373ad9791da4ce5227b18fb73e4bbe3 |