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

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for llama_index_tools_arxiv-0.4.1.tar.gz
Algorithm Hash digest
SHA256 d582fcf8ca55011056d23fbfa4a36f1281e26a6fd5ae4702c2ccf1713cbebbc4
MD5 4308b0c0a619c77e7b39b5a2afdda95b
BLAKE2b-256 4ae038feb8e227425f3a7baea169296a951f0316ae1238bc25fcec55e0fbf19f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for llama_index_tools_arxiv-0.4.1-py3-none-any.whl
Algorithm Hash digest
SHA256 69eefe98b0b6ba9c565df166ade527b90a6a4cf029e454eadfb46117cdd136d1
MD5 2560cee228f432c583b9321779f5beab
BLAKE2b-256 5ff1cad14a494d69c240751a344ee22a69b0cfaa8dc54bfdda95ff467b8e13fb

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