A Day in the Life

Let’s imagine that you’re an AI Engineer at RockClothing, an e-commerce company specializing in outdoor gear and adventure supplies.

RockClothing has about 200 employees, and you work on the Data Team:

  • A Data Engineer: Handles the pipelines, databases, and infrastructure that power the data ecosystem.
  • A Data Scientist: Builds predictive models and analyzes data to understand trends and find valuable insights.
  • An AI Engineer: Integrates AI solutions into the website to enhance customer satisfaction. (This is you!)

Your team collaborates closely with product managers, software developers, and customer experience specialists to implement data-driven improvements to RockClothing’s products and services.

9:00 AM – Morning Stand-Up and Task Prioritization

Your day kicks off with a stand-up meeting. Each team member shares progress and plans:

  • The Data Scientist discusses insights from customer segmentation models.
  • The Data Engineer mentions an issue in one of the data ingestion pipelines.
  • You are working on refining prompts for the company’s RAG chatbot, set to launch next quarter.
RockClothing Data Team Standup
Morning standup.

9:30 AM – Recommendation System Issue

Before you can start working on your RAG project, you get a message from the recommendation system’s product manager:

Hey! Looks like there’s an urgent issue with the product recommendation system that I need you to look at. I’m seeing a spike in errors. Let me know what you think.

Urgh, that sucks. You check your monitoring platform, and indeed:

1. Pulling Error Logs

You need to query logs from the recommendation engine to hunt down the root cause of the issue. Sure enough, you see a spike in error logs over the past 24 hours. The issue appears to be tied to a subset of products missing key metadata fields like category and price.

2. Replicating the Issue

To confirm the problem, you run test queries against the recommendation system. Sure enough, when the engine encounters products without complete metadata, it substitutes irrelevant items instead of gracefully skipping them.

3. Determining the Root Cause

Digging into your data warehouse, you identify the table with missing product metadata. You also trace the root cause of the problem back to a data pipeline that didn’t properly validate incoming product metadata. Classic Data Engineer f*** up!

4. Implementing a Solution

You ping your team’s Data Engineer and get them to patch the data pipeline and fix their data. But this could take a while. So in the meantime, you add a simple fallback mechanism to the recommendation engine so it skips problematic entries without disrupting recommendations.

# Example fallback mechanism
def recommend_products(user_id):
    products = fetch_user_recommendations(user_id)
    valid_products = [p for p in products if p.get('category') and p.get('price')]
    return valid_products

By lunchtime, you’ve deployed the fix to staging and confirmed it resolves the issue. A quick demo for the product manager earns you the green light to push it live.

1:00 PM – Lunch and Casual Chat with Colleagues

Like most days, you break for lunch with some friends at work. One of your friends is a backend web developer, and he’s having an issue with session auth invalidation. You guys spend some time brainstorming, but the conversation ultimately devolves into a heated debate over the merits of using Neovim instead of VS Code.

2:00 PM – Prompt Engineering for the RAG Chatbot

Back at your desk, you’re excited to work on RockClothing’s new RAG (Retrieval-Augmented Generation) chatbot. The goal is to create a conversational agent that helps customers find the right products by combining a language model with a knowledge base of product data.

Task: Refine the chatbot’s prompts for better performance.

The chatbot’s job is to answer questions like:

  • “What’s the best tent for winter camping?”
  • “Do you have lightweight hiking boots in size 9?”

You experiment with different prompt structures to ensure the bot retrieves accurate and concise answers.

# Example prompt refinement
prompt_template = """
You are an expert in outdoor gear and customer service. Use the following product database to answer questions accurately and succinctly:
{knowledge_base}

Customer question: {customer_query}
"""

After testing, you notice that the bot sometimes pulls irrelevant details when product descriptions contain overlapping keywords. You adjust the prompt to emphasize relevance:

prompt_template = """
You are an expert in outdoor gear and customer service. Use only the most relevant information from the database to answer:
{knowledge_base}

Customer question: {customer_query}
Focus on the specific details the customer is asking for.
"""

With these tweaks, the bot provides more relevant responses. You document your findings and share them with the product manager for further review.

4:00 PM – Team Collaboration and Future Planning

Before wrapping up, you meet with the Data Scientist on your team and the product manager for your RAG project to discuss the chatbot’s knowledge base.

The Data Scientist suggests adding a sentiment analysis step into the chatbot’s response-generation process, while you propose incorporating customer reviews for richer recommendations.

Together, the team outlines a plan to:

  • Expand the product knowledge base with detailed FAQs.
  • Collect and analyze user feedback during beta testing.
RockClothing Data Team Standup
Morning standup.

5:00 PM – Wrap-Up and Reflection

As the day ends, you reflect on what you accomplished today:

  • ✅ Resolved a critical bug in the recommendation system.
  • ✅ Improved the RAG chatbot’s prompt engineering.
  • ✅ Laid the groundwork for future chatbot enhancements.

You log some things that are on your mind and jot down a few tasks to focus on tomorrow, then you close your laptop. Another productive day as an AI Engineer at RockClothing!

Conclusion

This was a highly fictionalized account of what a day-in-the-life might look like[1].

I tried to imagine a day that was grounded in reality but also exciting.

The type of day that I would be excited to wake up to.

RockClothing Data Team Standup
Good vibes and morning coffee with the team.

Next: Key Technical Skills

In the next section, we’ll introduce a wide range of core skills, such as using the terminal, writing code, and deploying to cloud platforms.

This is just a warm-up. We’ll be revisiting all of these topics in more depth later in the course.

Footnotes


  1. I can’t possibly talk about “day in the life” without referencing The Hustle by KRAZAM on YouTube. A truly genius and timeless video that’s also disturbingly close to reality. ↩︎

Comments (0)

No comments yet.