Name | llama-index-tools-notion JSON |
Version |
0.2.0
JSON |
| download |
home_page | None |
Summary | llama-index tools notion integration |
upload_time | 2024-08-22 14:48:50 |
maintainer | jerryjliu |
docs_url | None |
author | Your Name |
requires_python | <4.0,>=3.8.1 |
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.8.1",
"maintainer_email": null,
"keywords": null,
"author": "Your Name",
"author_email": "you@example.com",
"download_url": "https://files.pythonhosted.org/packages/f9/14/d856befdbb1f18ec157af0c360950509bab74438e94e8b02fac5274b3ee5/llama_index_tools_notion-0.2.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.2.0",
"project_urls": null,
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "6706fba47c59c7c279807ed950ff53ea98709d615680144bf73a327586695d03",
"md5": "5867a82e299021f085c261c0dbbbc39f",
"sha256": "9800c781eb5afc444ccdd771e673b4043781bb27926c4f94545c3edaad146c22"
},
"downloads": -1,
"filename": "llama_index_tools_notion-0.2.0-py3-none-any.whl",
"has_sig": false,
"md5_digest": "5867a82e299021f085c261c0dbbbc39f",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": "<4.0,>=3.8.1",
"size": 3098,
"upload_time": "2024-08-22T14:48:49",
"upload_time_iso_8601": "2024-08-22T14:48:49.422945Z",
"url": "https://files.pythonhosted.org/packages/67/06/fba47c59c7c279807ed950ff53ea98709d615680144bf73a327586695d03/llama_index_tools_notion-0.2.0-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "f914d856befdbb1f18ec157af0c360950509bab74438e94e8b02fac5274b3ee5",
"md5": "410a48457a0dd12d3fb4afacff222884",
"sha256": "c4cf1ca1f25fdc66fd2abe03492dc45d332bd7ffeef164fa7d7c7980e853373d"
},
"downloads": -1,
"filename": "llama_index_tools_notion-0.2.0.tar.gz",
"has_sig": false,
"md5_digest": "410a48457a0dd12d3fb4afacff222884",
"packagetype": "sdist",
"python_version": "source",
"requires_python": "<4.0,>=3.8.1",
"size": 2857,
"upload_time": "2024-08-22T14:48:50",
"upload_time_iso_8601": "2024-08-22T14:48:50.349225Z",
"url": "https://files.pythonhosted.org/packages/f9/14/d856befdbb1f18ec157af0c360950509bab74438e94e8b02fac5274b3ee5/llama_index_tools_notion-0.2.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-08-22 14:48:50",
"github": false,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"lcname": "llama-index-tools-notion"
}