# ArXiv Search Tool
This tool connects to ArXiv and allows an Agent to search for recent papers and their summaries to retrieve recent information on mathematical and scientific information
## Usage
This tool has a 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-arxiv/examples/arxiv.ipynb).
Here's an example usage of the ArxivToolSpec.
```python
from llama_index.tools.arxiv import ArxivToolSpec
from llama_index.agent.openai import OpenAIAgent
tool_spec = ArxivToolSpec()
agent = OpenAIAgent.from_tools(tool_spec.to_tool_list())
agent.chat("What's going on with the superconductor lk-99")
agent.chat("what are the latest developments in machine learning")
```
`arxiv_query`: Search arXiv for results related to the query
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-arxiv",
"maintainer": "ajhofmann",
"docs_url": null,
"requires_python": "<4.0,>=3.8.1",
"maintainer_email": null,
"keywords": "math, research, science",
"author": "Your Name",
"author_email": "you@example.com",
"download_url": "https://files.pythonhosted.org/packages/1e/a9/5bcd794e064bf9fe487cb2aa377ce91533148b20c5a6a0034c6490962aee/llama_index_tools_arxiv-0.2.0.tar.gz",
"platform": null,
"description": "# ArXiv Search Tool\n\nThis tool connects to ArXiv and allows an Agent to search for recent papers and their summaries to retrieve recent information on mathematical and scientific information\n\n## Usage\n\nThis tool has a 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-arxiv/examples/arxiv.ipynb).\n\nHere's an example usage of the ArxivToolSpec.\n\n```python\nfrom llama_index.tools.arxiv import ArxivToolSpec\nfrom llama_index.agent.openai import OpenAIAgent\n\ntool_spec = ArxivToolSpec()\n\nagent = OpenAIAgent.from_tools(tool_spec.to_tool_list())\n\nagent.chat(\"What's going on with the superconductor lk-99\")\nagent.chat(\"what are the latest developments in machine learning\")\n```\n\n`arxiv_query`: Search arXiv for results related to the query\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 arxiv integration",
"version": "0.2.0",
"project_urls": null,
"split_keywords": [
"math",
" research",
" science"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "3bb6c5869c5af56fdb8588521433bda44417294531abb4f04dc52fce22c4a1b7",
"md5": "4e90fc58fea4009e6dd6a87eba185354",
"sha256": "5b894cac5167c41a2d9b0908609b976652a0683fbac1d740ed1d6a8822cb7ff0"
},
"downloads": -1,
"filename": "llama_index_tools_arxiv-0.2.0-py3-none-any.whl",
"has_sig": false,
"md5_digest": "4e90fc58fea4009e6dd6a87eba185354",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": "<4.0,>=3.8.1",
"size": 2548,
"upload_time": "2024-08-22T03:21:19",
"upload_time_iso_8601": "2024-08-22T03:21:19.463745Z",
"url": "https://files.pythonhosted.org/packages/3b/b6/c5869c5af56fdb8588521433bda44417294531abb4f04dc52fce22c4a1b7/llama_index_tools_arxiv-0.2.0-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "1ea95bcd794e064bf9fe487cb2aa377ce91533148b20c5a6a0034c6490962aee",
"md5": "eb1aea9acde33cb038176fd1452b6a09",
"sha256": "eb1485ecd12993daa649cbee43561f3462764220585d14f991ac2135de2c09f7"
},
"downloads": -1,
"filename": "llama_index_tools_arxiv-0.2.0.tar.gz",
"has_sig": false,
"md5_digest": "eb1aea9acde33cb038176fd1452b6a09",
"packagetype": "sdist",
"python_version": "source",
"requires_python": "<4.0,>=3.8.1",
"size": 2387,
"upload_time": "2024-08-22T03:21:20",
"upload_time_iso_8601": "2024-08-22T03:21:20.590943Z",
"url": "https://files.pythonhosted.org/packages/1e/a9/5bcd794e064bf9fe487cb2aa377ce91533148b20c5a6a0034c6490962aee/llama_index_tools_arxiv-0.2.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-08-22 03:21:20",
"github": false,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"lcname": "llama-index-tools-arxiv"
}