Skip to main content

llama-index tools arxiv integration

Project description

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.

Here's an example usage of the ArxivToolSpec.

from llama_index.tools.arxiv import ArxivToolSpec
from llama_index.core.agent.workflow import FunctionAgent
from llama_index.llms.openai import OpenAI

tool_spec = ArxivToolSpec()

agent = FunctionAgent(
    tools=tool_spec.to_tool_list(), llm=OpenAI(model="gpt-4.1")
)

await agent.run("What's going on with the superconductor lk-99")
await agent.run("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.

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

llama_index_tools_arxiv-0.5.0.tar.gz (3.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

llama_index_tools_arxiv-0.5.0-py3-none-any.whl (3.4 kB view details)

Uploaded Python 3

File details

Details for the file llama_index_tools_arxiv-0.5.0.tar.gz.

File metadata

  • Download URL: llama_index_tools_arxiv-0.5.0.tar.gz
  • Upload date:
  • Size: 3.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.9 {"installer":{"name":"uv","version":"0.10.9","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for llama_index_tools_arxiv-0.5.0.tar.gz
Algorithm Hash digest
SHA256 660aa87fdb1cb50e2ae34c80320ea500f4bc6ea8c6017094a73e21cb4e2a32ca
MD5 81f14155b9fba3fc3255d694c42b0877
BLAKE2b-256 83e416fd7ab541abc81e462344fc00c7c377199384d123c753492ef140da780a

See more details on using hashes here.

File details

Details for the file llama_index_tools_arxiv-0.5.0-py3-none-any.whl.

File metadata

  • Download URL: llama_index_tools_arxiv-0.5.0-py3-none-any.whl
  • Upload date:
  • Size: 3.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.9 {"installer":{"name":"uv","version":"0.10.9","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for llama_index_tools_arxiv-0.5.0-py3-none-any.whl
Algorithm Hash digest
SHA256 403750e676788a6ded5190761a5277fcf9b6131a30260028acb5c2fcbde16c4a
MD5 5795f90789855047327fb37467e76c08
BLAKE2b-256 d09565616ae7e31aa2e22801fda03488d3fc850cf72ebcb4525e46019cce53b0

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page