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
File details
Details for the file llama_index_tools_zapier-0.3.0.tar.gz
.
File metadata
- Download URL: llama_index_tools_zapier-0.3.0.tar.gz
- Upload date:
- Size: 2.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.3 CPython/3.11.10 Darwin/22.3.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ef7fd681d8338744a63376511edb9912b600036fd1982301a0fc326b99ea7e5a |
|
MD5 | 03724e000ecac88fc218f2d41f545ae9 |
|
BLAKE2b-256 | c0e98e052ab93aa7775b9d9fe8c75f3d14227a8e619b6afaa827a53a9623a274 |
File details
Details for the file llama_index_tools_zapier-0.3.0-py3-none-any.whl
.
File metadata
- Download URL: llama_index_tools_zapier-0.3.0-py3-none-any.whl
- Upload date:
- Size: 3.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.3 CPython/3.11.10 Darwin/22.3.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8811a436ad47af36bfb4db44cd567c6392c2f7816be83585d539040aa8cbb5bc |
|
MD5 | 96eae6ab56f565d2916f735b0049fdc5 |
|
BLAKE2b-256 | a9f063df3292c360d29ba4772f1f760539ed3e82e1543231221154e856d19329 |