AI Dynamics

Global AI News Aggregator

Remove whitespace from text before passing to LLM

Could you remove the whitespace? And then do that on every input before passing it to the LLM later. Should be super cheap computationally:
Like text.replace("Legal Jargon", "LegalJargon")

→ View original post on X — @rasbt,

Commentaires

Leave a Reply

Your email address will not be published. Required fields are marked *