Create hn.yml
Browse files- workflows/hn.yml +23 -0
workflows/hn.yml
ADDED
@@ -0,0 +1,23 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
app:
|
2 |
+
data: front_page
|
3 |
+
query: programming
|
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 |
+
- hits
|
16 |
+
method: get
|
17 |
+
params:
|
18 |
+
tags: null
|
19 |
+
task: service
|
20 |
+
url: https://hn.algolia.com/api/v1/search?hitsPerPage=50
|
21 |
+
- action: tabular
|
22 |
+
- action: index
|
23 |
+
writable: true
|