kasand commited on
Commit
8fe9301
1 Parent(s): 1d40fab

try new api

Browse files
Files changed (2) hide show
  1. workflows/ag_news.yml +5 -5
  2. workflows/config.yml +1 -1
workflows/ag_news.yml CHANGED
@@ -1,23 +1,23 @@
1
  app:
2
- data: war
3
- query: war
4
  embeddings:
5
  path: sentence-transformers/nli-mpnet-base-v2
6
  tabular:
7
  idcolumn: url
8
  textcolumns:
9
- - text
10
  workflow:
11
  index:
12
  tasks:
13
  batch: false
14
  extract:
15
- - rows
16
  method: get
17
  params:
18
  tags: null
19
  task: service
20
- url: https://datasets-server.huggingface.co/rows?dataset=ag_news&config=default&split=train
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 Hacker News front page
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