Hacker News new | ask | show | jobs
by philipwhiuk 15 days ago
I... I would not trust my emergency page to an LLM.
1 comments

The LLM is just to make the message short for the SMS. The entire message is sent by mail without any AI.
That makes no sense. Why don't you just set a char-limit on the input and reject anything that's too long?
If I trim I may lost important context. I understand the concern here.
Who said anything about trimming?

Make your text box only hold as much data as you can transmit. Or send two messages if you need to. Do you think someone is going to paste a novel in there or something? This is a VERY stupid reason to use an LLM.

Have two inputs a summary and a longer text field... kind of like an email subject.

Then limit the text input to like 100 chars, giving another 60 for general "... continued in email to you@..."

Send the summary as the subject, and the full text in the email. easy peasy.

I'd also add a simple text auth/password prompt as well as list the contacts and their respective email and phone numbers too, so you can call easier.