txtai / workflows /hnfrench.yml
Niansuh's picture
Create hnfrench.yml
31c5e99 verified
raw
history blame contribute delete
511 Bytes
app:
data: front_page
query: la programmation
embeddings:
path: sentence-transformers/distiluse-base-multilingual-cased-v1
tabular:
idcolumn: url
textcolumns:
- title
translation: {}
workflow:
index:
tasks:
- batch: false
extract:
- hits
method: get
params:
tags: null
task: service
url: https://hn.algolia.com/api/v1/search?hitsPerPage=50
- action: tabular
- action: translation
args:
- fr
- action: index
writable: true