R/inference.R
hf_translation_payload.Rd
This task is well known to translate text from one language to another
hf_translation_payload(string)
a string to be translated in the original languages
An inference payload
https://huggingface.co/docs/inference-providers/tasks/translation
hf_translation_payload("Hello, world.")