Hacker News new | ask | show | jobs
by gen3 261 days ago
>// Classify incoming emails using Workers AI const { score, label } = env.AI.run("@cf/huggingface/distilbert-sst-2-int8", { text: message.raw" })

This is neat but be careful using an LLM to parse email content. The demo is a BERT model which is a good but I can see how someone might swap this without realising the implications

Also really nice to see emails from workers, its something I have wanted for a while!