amazonas: add multi-line text generation support