A developer should use deterministic algorithms for tasks whenever possible. An AI model should only be used for tasks that require true creativity or judgment. Choosing the right tool prevents unnecessary costs and complexity.
By Pawan Nayar · from the LLOS AI Learning record
A developer should use deterministic algorithms for tasks whenever possible.
An AI model should only be used for tasks that require true creativity or judgment. Choosing the right tool prevents unnecessary costs and complexity.
A developer should first consider if a task can be solved with clear rules. Many text tasks, like splitting paragraphs or finding common words, are deterministic. These tasks are best handled by simple scripts. An AI model is more flexible but also more expensive and slower. It should be reserved for parts of a task that truly need creative input.
A developer needs to prepare a large amount of text for a learning platform. The text needs paragraphs split, bullet points identified, and certain words replaced with emojis. The developer first lists all these steps. Splitting paragraphs and finding bullet points can be done with simple rules. Replacing words with emojis can use a lookup table. The developer writes scripts for these parts. This saves money and time compared to using an AI model for every step.
Resolved from this lesson's own record — real definitions, not invented for this page.
More from the same record, pulled by shared topic — not written new for this page.
An AI model should use fast methods for large tasks. The AI model should not ask for permission for individual steps.
A developer should use a script when a task has clear, step-by-step rules. This includes finding specific words or counting items.
An AI model should estimate content tasks assuming it can do many things at once. This means reading multiple files or making many edits in one step.
An AI model should execute all approved steps consecutively. The AI model should not pause to ask for permission for each next step.
A developer should use deterministic algorithms for tasks whenever possible. An AI model should only be used for tasks that require true creativity or judgment. Choosing the right tool prevents unnecessary costs and complexity.