0
0
AI for Everyoneknowledge~30 mins

Choosing the right AI tool for the task in AI for Everyone - Mini Project: Build & Apply

Choose your learning style9 modes available
Choosing the right AI tool for the task
📖 Scenario: You work in a small business that wants to use AI tools to improve daily tasks. You need to understand which AI tool fits best for different jobs like writing, image creation, or data analysis.
🎯 Goal: Build a simple guide that lists common AI tools and matches them to the tasks they are best at.
📋 What You'll Learn
Create a dictionary called ai_tools with AI tool names as keys and their main task as values
Create a list called tasks with the tasks you want to match AI tools to
Write a loop that goes through each task in tasks and finds AI tools that match the task
Add a final summary dictionary called task_to_tools that maps each task to a list of AI tools suitable for it
💡 Why This Matters
🌍 Real World
Businesses and individuals often need to pick the right AI tool for a specific job, like writing text or creating images. This project helps understand how to organize and match tools to tasks.
💼 Career
Knowing how to select and explain AI tools is useful for roles in digital marketing, content creation, software development, and AI consulting.
Progress0 / 4 steps
1
Create the AI tools dictionary
Create a dictionary called ai_tools with these exact entries: 'ChatGPT': 'text generation', 'DALL·E': 'image creation', 'Whisper': 'speech recognition', 'Codex': 'code generation', 'GPT-4': 'text generation'.
AI for Everyone
Hint

Use curly braces {} to create a dictionary. Each entry has a key and a value separated by a colon.

2
Create the list of tasks
Create a list called tasks with these exact strings: 'text generation', 'image creation', 'speech recognition', 'code generation'.
AI for Everyone
Hint

Use square brackets [] to create a list of strings.

3
Match AI tools to tasks
Create an empty dictionary called task_to_tools. Then use a for loop with the variable task to go through each item in tasks. Inside the loop, create a list of AI tools from ai_tools whose value matches the current task. Assign this list to task_to_tools[task].
AI for Everyone
Hint

Use a dictionary comprehension or a list comprehension inside the loop to find matching tools.

4
Add a summary of AI tools per task
Add a final line that creates a variable called summary and sets it equal to task_to_tools.
AI for Everyone
Hint

Just assign the existing dictionary task_to_tools to a new variable summary.