The output to STDOUT should only be the expected output, not any information or error messages which should go to STDERR.
Thus,
ml summarize hugging https://www.abc.net.au/news/2022-08-16/morrison-secret-ministerial-appointments-legal-or-not-icac/101318718
Produces:
** Your input text is greater than 1024 words.
** Results are calculated on the first 1024 words of the input.
** If you want more accurate results input a text file with lower than 1024 words.
Scott Morrison's secret ministerial appointments likely legal and outside federal ICAC remit, experts say.
Independent MPs say the former prime minister's actions should be investigated by a federal integrity body.
A former NSW ICAC assistant commissioner says many questions remain unanswered.
Prime Minister Anthony Albanese is expected to provide an update today after receiving briefings from the
And if I redirect the message it should not appear:
ml summarize hugging https://www.abc.net.au/news/2022-08-16/morrison-secret-ministerial-appointments-legal-or-not-icac/101318718 2> /dev/null
Produces just the output and not the message.
Scott Morrison's secret ministerial appointments likely legal and outside federal ICAC remit, experts say.
Independent MPs say the former prime minister's actions should be investigated by a federal integrity body.
A former NSW ICAC assistant commissioner says many questions remain unanswered.
Prime Minister Anthony Albanese is expected to provide an update today after receiving briefings from the
The output to STDOUT should only be the expected output, not any information or error messages which should go to STDERR.
Thus,
Produces:
And if I redirect the message it should not appear:
Produces just the output and not the message.