Built with Bolt.new badge

AI Tasks

Adapting prompts for summarization, translation, coding, and more.

AI Tasks

Different tasks require different prompt styles. Understanding how to adapt your prompts for each task will help you get the best results from the AI. Here are some examples and tips for common AI tasks:

Summarization

Summarize the following article in 3 sentences.

Expanded Example:

Summarize the following news article in 5 bullet points, highlighting the main events, key figures, and any important dates.

Translation

Translate this sentence to Spanish: {sentence}

Expanded Example:

Translate the following technical instructions to French. Maintain the formatting and include a glossary for any specialized terms.

Coding

Write a Python function to reverse a string.

Expanded Example:

Write a Python function that takes a list of numbers and returns a new list with only the even numbers, sorted in ascending order. Include comments explaining each step.

Best Practices for AI Tasks

  • Use task-specific language and constraints.
  • Provide examples or templates for complex tasks.
  • Test your prompt with different inputs to ensure reliability.