Spaces:
Runtime error
Runtime error
kasand
commited on
Commit
•
8fe9301
1
Parent(s):
1d40fab
try new api
Browse files- workflows/ag_news.yml +5 -5
- workflows/config.yml +1 -1
workflows/ag_news.yml
CHANGED
@@ -1,23 +1,23 @@
|
|
1 |
app:
|
2 |
-
data:
|
3 |
-
query:
|
4 |
embeddings:
|
5 |
path: sentence-transformers/nli-mpnet-base-v2
|
6 |
tabular:
|
7 |
idcolumn: url
|
8 |
textcolumns:
|
9 |
-
-
|
10 |
workflow:
|
11 |
index:
|
12 |
tasks:
|
13 |
batch: false
|
14 |
extract:
|
15 |
-
-
|
16 |
method: get
|
17 |
params:
|
18 |
tags: null
|
19 |
task: service
|
20 |
-
url: https://
|
21 |
action: tabular
|
22 |
action: index
|
23 |
writable: true
|
|
|
1 |
app:
|
2 |
+
data: Apple
|
3 |
+
query: Apple
|
4 |
embeddings:
|
5 |
path: sentence-transformers/nli-mpnet-base-v2
|
6 |
tabular:
|
7 |
idcolumn: url
|
8 |
textcolumns:
|
9 |
+
- title
|
10 |
workflow:
|
11 |
index:
|
12 |
tasks:
|
13 |
batch: false
|
14 |
extract:
|
15 |
+
- articles
|
16 |
method: get
|
17 |
params:
|
18 |
tags: null
|
19 |
task: service
|
20 |
+
url: https://newsapi.org/v2/everything?q=Apple&sortBy=popularity&apiKey=8cb696ca25864a5a9cabab46077e1a00
|
21 |
action: tabular
|
22 |
action: index
|
23 |
writable: true
|
workflows/config.yml
CHANGED
@@ -1,4 +1,4 @@
|
|
1 |
-
- name: Search
|
2 |
file: ag_news.yml
|
3 |
- name: Search Hacker News front page in French
|
4 |
file: aliens.yml
|
|
|
1 |
+
- name: Search world wide news for apple
|
2 |
file: ag_news.yml
|
3 |
- name: Search Hacker News front page in French
|
4 |
file: aliens.yml
|