@fre4x/arxiv 1.0.8 → 1.0.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +146 -1
- package/dist/index.js +5 -5
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -10,7 +10,7 @@ Agents sleep while humans read. This server doesn't sleep. It hunts across the e
|
|
|
10
10
|
|
|
11
11
|
| Tool | What it hunts |
|
|
12
12
|
|------|--------------|
|
|
13
|
-
| `
|
|
13
|
+
| `arxiv_search_papers` | Free-text search with field prefixes (`ti:`, `au:`, `abs:`, `cat:`) and boolean operators |
|
|
14
14
|
| `arxiv_get_paper` | Full metadata for one or more papers by arXiv ID |
|
|
15
15
|
| `arxiv_search_by_author` | All papers by a specific author |
|
|
16
16
|
| `arxiv_search_by_category` | Papers in a subject category (e.g. `cs.AI`, `cs.LG`, `q-fin.TR`) |
|
|
@@ -23,11 +23,156 @@ ti:attention AND cat:cs.LG
|
|
|
23
23
|
au:Bengio AND abs:generalization
|
|
24
24
|
cat:cs.CV AND ti:object detection
|
|
25
25
|
ti:diffusion AND NOT abs:image
|
|
26
|
+
all:"Scaling Law limits" AND submittedDate:[20230101 TO 20261231]
|
|
26
27
|
```
|
|
27
28
|
|
|
28
29
|
All list tools support `limit` (max 100) and `offset` for pagination.
|
|
29
30
|
All tools support `response_format: "markdown"` (default) or `"json"`.
|
|
30
31
|
|
|
32
|
+
## Response Examples
|
|
33
|
+
|
|
34
|
+
### `arxiv_search_papers`
|
|
35
|
+
|
|
36
|
+
**Input**
|
|
37
|
+
```json
|
|
38
|
+
{
|
|
39
|
+
"query": "all:\"Scaling Law limits\" AND submittedDate:[20230101 TO 20261231]",
|
|
40
|
+
"sort_by": "relevance",
|
|
41
|
+
"limit": 5
|
|
42
|
+
}
|
|
43
|
+
```
|
|
44
|
+
|
|
45
|
+
**Output (markdown)**
|
|
46
|
+
```markdown
|
|
47
|
+
# arXiv Search Results
|
|
48
|
+
|
|
49
|
+
Showing 5 of 42 results (offset: 0)
|
|
50
|
+
|
|
51
|
+
### 1. Scaling Laws Have Scaling Laws
|
|
52
|
+
**arXiv**: [2310.12345](https://arxiv.org/abs/2310.12345) | **Authors**: Alice Chen, Bob Liu et al.
|
|
53
|
+
**Published**: 2023-10-18 | **Category**: cs.LG
|
|
54
|
+
> We investigate the limits of neural scaling laws and show that scaling
|
|
55
|
+
> efficiency itself follows a power-law decay as model size grows beyond...
|
|
56
|
+
|
|
57
|
+
*37 more results available. Use `offset=5` to continue.*
|
|
58
|
+
```
|
|
59
|
+
|
|
60
|
+
---
|
|
61
|
+
|
|
62
|
+
### `arxiv_get_paper`
|
|
63
|
+
|
|
64
|
+
**Input**
|
|
65
|
+
```json
|
|
66
|
+
{ "ids": ["2310.12345", "2301.07758"] }
|
|
67
|
+
```
|
|
68
|
+
|
|
69
|
+
**Output (markdown)**
|
|
70
|
+
```markdown
|
|
71
|
+
## Scaling Laws Have Scaling Laws
|
|
72
|
+
**arXiv ID**: [2310.12345](https://arxiv.org/abs/2310.12345)
|
|
73
|
+
**Authors**: Alice Chen, Bob Liu
|
|
74
|
+
**Published**: 2023-10-18
|
|
75
|
+
**Categories**: cs.LG (Machine Learning)
|
|
76
|
+
**DOI**: 10.1234/example
|
|
77
|
+
**PDF**: https://arxiv.org/pdf/2310.12345
|
|
78
|
+
|
|
79
|
+
### Abstract
|
|
80
|
+
|
|
81
|
+
We investigate the limits of neural scaling laws and show that...
|
|
82
|
+
|
|
83
|
+
---
|
|
84
|
+
|
|
85
|
+
## A Second Paper Title
|
|
86
|
+
...
|
|
87
|
+
```
|
|
88
|
+
|
|
89
|
+
**Output (json)**
|
|
90
|
+
```json
|
|
91
|
+
[
|
|
92
|
+
{
|
|
93
|
+
"arxivId": "2310.12345",
|
|
94
|
+
"title": "Scaling Laws Have Scaling Laws",
|
|
95
|
+
"authors": [{ "name": "Alice Chen" }, { "name": "Bob Liu" }],
|
|
96
|
+
"published": "2023-10-18T00:00:00Z",
|
|
97
|
+
"updated": "2023-10-20T00:00:00Z",
|
|
98
|
+
"summary": "We investigate the limits of neural scaling laws...",
|
|
99
|
+
"categories": [{ "term": "cs.LG" }],
|
|
100
|
+
"primaryCategory": { "term": "cs.LG" },
|
|
101
|
+
"pdfUrl": "https://arxiv.org/pdf/2310.12345",
|
|
102
|
+
"doi": "10.1234/example",
|
|
103
|
+
"journalRef": null,
|
|
104
|
+
"comment": "15 pages, 8 figures",
|
|
105
|
+
"links": []
|
|
106
|
+
}
|
|
107
|
+
]
|
|
108
|
+
```
|
|
109
|
+
|
|
110
|
+
---
|
|
111
|
+
|
|
112
|
+
### `arxiv_search_by_author`
|
|
113
|
+
|
|
114
|
+
**Input**
|
|
115
|
+
```json
|
|
116
|
+
{ "author": "Yann LeCun", "limit": 3 }
|
|
117
|
+
```
|
|
118
|
+
|
|
119
|
+
**Output (markdown)**
|
|
120
|
+
```markdown
|
|
121
|
+
# arXiv Search Results
|
|
122
|
+
|
|
123
|
+
Showing 3 of 128 results (offset: 0)
|
|
124
|
+
|
|
125
|
+
### 1. A Path Towards Autonomous Machine Intelligence
|
|
126
|
+
**arXiv**: [2206.07682](https://arxiv.org/abs/2206.07682) | **Authors**: Yann LeCun
|
|
127
|
+
**Published**: 2022-06-27 | **Category**: cs.AI
|
|
128
|
+
> We propose a modular cognitive architecture for autonomous AI systems...
|
|
129
|
+
|
|
130
|
+
*125 more results available. Use `offset=3` to continue.*
|
|
131
|
+
```
|
|
132
|
+
|
|
133
|
+
---
|
|
134
|
+
|
|
135
|
+
### `arxiv_search_by_category`
|
|
136
|
+
|
|
137
|
+
**Input**
|
|
138
|
+
```json
|
|
139
|
+
{ "category": "cs.AI", "query": "reasoning", "sort_by": "submittedDate", "limit": 3 }
|
|
140
|
+
```
|
|
141
|
+
|
|
142
|
+
**Output (markdown)**
|
|
143
|
+
```markdown
|
|
144
|
+
# arXiv Search Results
|
|
145
|
+
|
|
146
|
+
Showing 3 of 891 results (offset: 0)
|
|
147
|
+
|
|
148
|
+
### 1. Chain-of-Thought Reasoning in Large Language Models
|
|
149
|
+
**arXiv**: [2401.00123](https://arxiv.org/abs/2401.00123) | **Authors**: Wei Zhang, Sara Kim et al.
|
|
150
|
+
**Published**: 2024-01-02 | **Category**: cs.AI
|
|
151
|
+
> We study emergent reasoning capabilities in LLMs and propose a new...
|
|
152
|
+
```
|
|
153
|
+
|
|
154
|
+
---
|
|
155
|
+
|
|
156
|
+
### `arxiv_list_categories`
|
|
157
|
+
|
|
158
|
+
**Input**
|
|
159
|
+
```json
|
|
160
|
+
{ "limit": 5 }
|
|
161
|
+
```
|
|
162
|
+
|
|
163
|
+
**Output (markdown)**
|
|
164
|
+
```markdown
|
|
165
|
+
# arXiv Subject Categories
|
|
166
|
+
|
|
167
|
+
## CS
|
|
168
|
+
|
|
169
|
+
- **cs.AI** — Artificial Intelligence
|
|
170
|
+
- **cs.CL** — Computation and Language (NLP)
|
|
171
|
+
- **cs.CV** — Computer Vision and Pattern Recognition
|
|
172
|
+
- **cs.LG** — Machine Learning
|
|
173
|
+
- **cs.NE** — Neural and Evolutionary Computing
|
|
174
|
+
```
|
|
175
|
+
|
|
31
176
|
## Deploy
|
|
32
177
|
|
|
33
178
|
```json
|
package/dist/index.js
CHANGED
|
@@ -51642,11 +51642,11 @@ function formatPaperListMarkdown(papers, total, start) {
|
|
|
51642
51642
|
return lines.join("\n");
|
|
51643
51643
|
}
|
|
51644
51644
|
var sortSchema = {
|
|
51645
|
-
sort_by: external_exports4.
|
|
51646
|
-
sort_order: external_exports4.
|
|
51645
|
+
sort_by: external_exports4.enum(Object.values(SortBy)).default("relevance" /* RELEVANCE */).describe("Sort field: relevance | lastUpdatedDate | submittedDate"),
|
|
51646
|
+
sort_order: external_exports4.enum(Object.values(SortOrder)).default("descending" /* DESCENDING */).describe("Sort order: ascending | descending")
|
|
51647
51647
|
};
|
|
51648
51648
|
var responseFormatSchema = {
|
|
51649
|
-
response_format: external_exports4.
|
|
51649
|
+
response_format: external_exports4.enum(Object.values(ResponseFormat)).default("markdown" /* MARKDOWN */).describe("Output format: markdown or json")
|
|
51650
51650
|
};
|
|
51651
51651
|
server.registerTool(
|
|
51652
51652
|
"arxiv_search_papers",
|
|
@@ -51827,10 +51827,10 @@ server.registerTool(
|
|
|
51827
51827
|
category: external_exports4.string().describe("arXiv category code (e.g. 'cs.AI')"),
|
|
51828
51828
|
query: external_exports4.string().optional().describe("Optional additional search query to filter"),
|
|
51829
51829
|
...paginationSchema.shape,
|
|
51830
|
-
sort_by: external_exports4.
|
|
51830
|
+
sort_by: external_exports4.enum(Object.values(SortBy)).default("submittedDate" /* SUBMITTED */).describe(
|
|
51831
51831
|
"Sort field: relevance | lastUpdatedDate | submittedDate"
|
|
51832
51832
|
),
|
|
51833
|
-
sort_order: external_exports4.
|
|
51833
|
+
sort_order: external_exports4.enum(Object.values(SortOrder)).default("descending" /* DESCENDING */).describe("Sort order: ascending | descending"),
|
|
51834
51834
|
...responseFormatSchema
|
|
51835
51835
|
}),
|
|
51836
51836
|
annotations: {
|