Arxiv
ArxivToolSpec #
Bases: BaseToolSpec
arXiv tool spec.
Source code in llama-index-integrations/tools/llama-index-tools-arxiv/llama_index/tools/arxiv/base.py
9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 |
|
arxiv_query #
arxiv_query(query: str, sort_by: Optional[str] = 'relevance')
A tool to query arxiv.org ArXiv contains a variety of papers that are useful for answering mathematic and scientific questions.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
query |
str
|
The query to be passed to arXiv. |
required |
sort_by |
str
|
Either 'relevance' (default) or 'recent' |
'relevance'
|
Source code in llama-index-integrations/tools/llama-index-tools-arxiv/llama_index/tools/arxiv/base.py
17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 |
|