llama-index-tools-zapier


Namellama-index-tools-zapier JSON
Version 0.2.0 PyPI version JSON
download
home_pageNone
Summaryllama-index tools zapier integration
upload_time2024-08-22 07:47:10
maintainerajhofmann
docs_urlNone
authorYour Name
requires_python<4.0,>=3.8.1
licenseMIT
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # 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](https://github.com/run-llama/llama_index/blob/main/llama-index-integrations/tools/llama-index-tools-zapier/examples/zapier.ipynb)

Here's an example usage of the ZapierToolSpec.

```python
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.

            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "llama-index-tools-zapier",
    "maintainer": "ajhofmann",
    "docs_url": null,
    "requires_python": "<4.0,>=3.8.1",
    "maintainer_email": null,
    "keywords": null,
    "author": "Your Name",
    "author_email": "you@example.com",
    "download_url": "https://files.pythonhosted.org/packages/38/47/23ac9b186cf519c5c29c6a306ea00ad08273eb1432aa24c07ee8d1d162b2/llama_index_tools_zapier-0.2.0.tar.gz",
    "platform": null,
    "description": "# Zapier Tool\n\nThis 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/\n\n## Usage\n\nThis tool has more extensive example usage documented in a Jupyter notebook [here](https://github.com/run-llama/llama_index/blob/main/llama-index-integrations/tools/llama-index-tools-zapier/examples/zapier.ipynb)\n\nHere's an example usage of the ZapierToolSpec.\n\n```python\nfrom llama_index.tools.zapier import ZapierToolSpec\nfrom llama_index.agent.openai import OpenAIAgent\n\n\nzapier_spec = ZapierToolSpec(api_key=\"sk-ak-your-key\")\n## Or\nzapier_spec = ZapierToolSpec(api_key=\"oauth-token\")\n\nagent = OpenAIAgent.from_tools(zapier_spec.to_tool_list(), verbose=True)\n\nagent.chat(\"what actions are available\")\nagent.chat(\"Can you find the taco night file in google drive\")\n```\n\n`list_actions`: Get the actions that you have enabled through zapier\n`natural_language_query`: Make a natural language query to zapier\n\nThis loader is designed to be used as a way to load data as a Tool in a Agent.\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "llama-index tools zapier integration",
    "version": "0.2.0",
    "project_urls": null,
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "a655b69e026670551f634540c27585023e4079c5b531fe5b1927cae973894d3e",
                "md5": "93b7b0ada8cc5358c2fc225b9df5cfff",
                "sha256": "bb618bd2dabeb51b29fb93bcd2be3d482b7b6f076f84cebf2c386d24282b6db8"
            },
            "downloads": -1,
            "filename": "llama_index_tools_zapier-0.2.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "93b7b0ada8cc5358c2fc225b9df5cfff",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": "<4.0,>=3.8.1",
            "size": 3131,
            "upload_time": "2024-08-22T07:47:08",
            "upload_time_iso_8601": "2024-08-22T07:47:08.072889Z",
            "url": "https://files.pythonhosted.org/packages/a6/55/b69e026670551f634540c27585023e4079c5b531fe5b1927cae973894d3e/llama_index_tools_zapier-0.2.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "384723ac9b186cf519c5c29c6a306ea00ad08273eb1432aa24c07ee8d1d162b2",
                "md5": "afd1ab98e86d5c01909e504aec065fe7",
                "sha256": "0d70b893f3c06bf1760cb877f3e03433e2e114f234ff15096c2479128c32b396"
            },
            "downloads": -1,
            "filename": "llama_index_tools_zapier-0.2.0.tar.gz",
            "has_sig": false,
            "md5_digest": "afd1ab98e86d5c01909e504aec065fe7",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": "<4.0,>=3.8.1",
            "size": 2880,
            "upload_time": "2024-08-22T07:47:10",
            "upload_time_iso_8601": "2024-08-22T07:47:10.041509Z",
            "url": "https://files.pythonhosted.org/packages/38/47/23ac9b186cf519c5c29c6a306ea00ad08273eb1432aa24c07ee8d1d162b2/llama_index_tools_zapier-0.2.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-08-22 07:47:10",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "lcname": "llama-index-tools-zapier"
}
        
Elapsed time: 0.83803s