Repository navigation
How to add a step to the ingest/index pipeline #4196
Replies: 1 comment 1 reply
|
Hi @leonkleinmann, I'm assuming you've seen the documentation at https://github.com/alephdata/translate-service and are trying to make your new service sort of work like the translation service in that example. Unfortunately that example is slightly outdated as of Aleph 4.0+, but the principles stay the same: you need to implement your own worker which inherits from servicelayer.worker.Worker. Specifically you need to focus on the Other examples of these kinds of workers are ingest-file (https://github.com/alephdata/ingest-file/blob/3860024df29dc04d5f37dd47aee85f936f93c040/ingestors/worker.py#L28) and the aleph-worker ( Line 109 in ef34516 I hope this helps. If you have further questions please join us on the Aleph Discourse forum. |
Uh oh!
There was an error while loading. Please reload this page.
Hi everyone,
I'm currently trying to add a stage to the ingest pipeline of aleph but it doesn't work.
I created a service just like translate but I don't understand how I can make aleph use it's worker.
docker-compose.yml
I also changed the settings.py
This surely is not enough to make Aleph use my AI stage.
Any help is welcome!
Thanks in Advance!
All reactions