Create hnfrench.yml
Browse files- workflows/hnfrench.yml +27 -0
workflows/hnfrench.yml
ADDED
|
@@ -0,0 +1,27 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
app:
|
| 2 |
+
data: front_page
|
| 3 |
+
query: la programmation
|
| 4 |
+
embeddings:
|
| 5 |
+
path: sentence-transformers/distiluse-base-multilingual-cased-v1
|
| 6 |
+
tabular:
|
| 7 |
+
idcolumn: url
|
| 8 |
+
textcolumns:
|
| 9 |
+
- title
|
| 10 |
+
translation: {}
|
| 11 |
+
workflow:
|
| 12 |
+
index:
|
| 13 |
+
tasks:
|
| 14 |
+
- batch: false
|
| 15 |
+
extract:
|
| 16 |
+
- hits
|
| 17 |
+
method: get
|
| 18 |
+
params:
|
| 19 |
+
tags: null
|
| 20 |
+
task: service
|
| 21 |
+
url: https://hn.algolia.com/api/v1/search?hitsPerPage=50
|
| 22 |
+
- action: tabular
|
| 23 |
+
- action: translation
|
| 24 |
+
args:
|
| 25 |
+
- fr
|
| 26 |
+
- action: index
|
| 27 |
+
writable: true
|