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.4.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.4.0-py3-none-any.whl (3.4 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for llama_index_tools_arxiv-0.4.0.tar.gz
Algorithm Hash digest
SHA256 af91a0340c4ae4bd72922909c7adf93d941ab8032b1dc357a49be3597c786095
MD5 552ca0fbcb30f5e93ae77e56deeb1a99
BLAKE2b-256 0b4f6e2dc4b7ae77ba2ca69e3a75c1be096f5c10540435c0f6a51d271f1d5c05

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for llama_index_tools_arxiv-0.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d2a7c29217763c0c79760dc12f00faa1b96126bd270be890aa6eaed1fdcab262
MD5 8ec4b577c522a43907f6e304f916c1b7
BLAKE2b-256 2c8a96653b8fe9a34cb40500cb32c6bb607ae2e1ca0cca0aca34f11ba54da9ad

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