Name | llama-index-tools-notion JSON |
Version |
0.3.0
JSON |
| download |
home_page | None |
Summary | llama-index tools notion integration |
upload_time | 2024-11-18 00:57:58 |
maintainer | jerryjliu |
docs_url | None |
author | Your Name |
requires_python | <4.0,>=3.9 |
license | MIT |
keywords |
|
VCS |
|
bugtrack_url |
|
requirements |
No requirements were recorded.
|
Travis-CI |
No Travis.
|
coveralls test coverage |
No coveralls.
|
# Notion Tool
This tool loads and updates documents from Notion. The user specifies an API token to initialize the NotionToolSpec.
## 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-notion/examples/notion.ipynb)
Here's an example usage of the NotionToolSpec.
```python
from llama_index.tools.notion import NotionToolSpec
from llama_index.agent.openai import OpenAIAgent
tool_spec = NotionToolSpec()
agent = OpenAIAgent.from_tools(tool_spec.to_tool_list())
agent.chat("Append the heading 'I am legend' to the movies page")
```
`load_data`: Loads a list of page or databases by id
`search_data`: Searches for matching pages or databases
`append_data`: Appends content to the matching page or database
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-notion",
"maintainer": "jerryjliu",
"docs_url": null,
"requires_python": "<4.0,>=3.9",
"maintainer_email": null,
"keywords": null,
"author": "Your Name",
"author_email": "you@example.com",
"download_url": "https://files.pythonhosted.org/packages/48/3c/15e2885d5be06d12bca54c8dce9b72732bb1fd79bc303c48875a9c6e7f50/llama_index_tools_notion-0.3.0.tar.gz",
"platform": null,
"description": "# Notion Tool\n\nThis tool loads and updates documents from Notion. The user specifies an API token to initialize the NotionToolSpec.\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-notion/examples/notion.ipynb)\n\nHere's an example usage of the NotionToolSpec.\n\n```python\nfrom llama_index.tools.notion import NotionToolSpec\nfrom llama_index.agent.openai import OpenAIAgent\n\ntool_spec = NotionToolSpec()\n\nagent = OpenAIAgent.from_tools(tool_spec.to_tool_list())\n\nagent.chat(\"Append the heading 'I am legend' to the movies page\")\n```\n\n`load_data`: Loads a list of page or databases by id\n`search_data`: Searches for matching pages or databases\n`append_data`: Appends content to the matching page or database\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 notion integration",
"version": "0.3.0",
"project_urls": null,
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "d6a20dc2365dff9caa62d2bb009e58e974fd7a878b4342534b55b711c630c738",
"md5": "fbc13a3704665f32ff9cd7de23097890",
"sha256": "e8e6cef8be152990674092b56513e47689eef8d6a12bf59b5e0d6900488501ea"
},
"downloads": -1,
"filename": "llama_index_tools_notion-0.3.0-py3-none-any.whl",
"has_sig": false,
"md5_digest": "fbc13a3704665f32ff9cd7de23097890",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": "<4.0,>=3.9",
"size": 3095,
"upload_time": "2024-11-18T00:57:56",
"upload_time_iso_8601": "2024-11-18T00:57:56.618193Z",
"url": "https://files.pythonhosted.org/packages/d6/a2/0dc2365dff9caa62d2bb009e58e974fd7a878b4342534b55b711c630c738/llama_index_tools_notion-0.3.0-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "483c15e2885d5be06d12bca54c8dce9b72732bb1fd79bc303c48875a9c6e7f50",
"md5": "b26df6505bb4fdf01e2b126a383de01a",
"sha256": "9bd9dfba0bace2a4bdef12956af53c89df073cc2d071fa593b7efcabb3efedb2"
},
"downloads": -1,
"filename": "llama_index_tools_notion-0.3.0.tar.gz",
"has_sig": false,
"md5_digest": "b26df6505bb4fdf01e2b126a383de01a",
"packagetype": "sdist",
"python_version": "source",
"requires_python": "<4.0,>=3.9",
"size": 2867,
"upload_time": "2024-11-18T00:57:58",
"upload_time_iso_8601": "2024-11-18T00:57:58.061540Z",
"url": "https://files.pythonhosted.org/packages/48/3c/15e2885d5be06d12bca54c8dce9b72732bb1fd79bc303c48875a9c6e7f50/llama_index_tools_notion-0.3.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-11-18 00:57:58",
"github": false,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"lcname": "llama-index-tools-notion"
}